|
INTERVIEW QUESTIONS
TESTING
WIN RUNNER
DETAILS
Question: Can anyone tell me how to invoke Java application (GUI application) from win Runner using invoke command"
Answer: To use this functionality, environment variable _JAVA_OPTIONS should be updated on WR machine. The original content of this variable is similar ro this:
-Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclasspath/a:C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classes;C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classesmic.jar
Path to the parser JAR files should be added at the end:
-Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclasspath/a:C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classes;C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classesmic.jar;d:tempguilibjaxen-core.jar;d:tempguilibjaxen-jdom.jar;;d:tempguilibjdom.jar;d:tempguilibnekohtml.jar;d:tempguilibsaxpath.jar;d:tempguilibxerces.jar;d:tempguilibxml-apis.jar;d:tempguilibhtmlparser.jar
inside WR
jco_create("TestGUI", outWriter, "HTMLParser");
This parser can be used with any Java classes that can output their content to a Writer object, as HTMLParser extends Writer class.
|
|
|
Category |
Win Runner Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 8717 users |
Added on |
7/19/2011 |
Views |
68990 |
Rate it! |
|
|
Question:
Can anyone tell me how to invoke Java application (GUI application) from win Runner using invoke command"
Answer:
To use this functionality, environment variable _JAVA_OPTIONS should be updated on WR machine. The original content of this variable is similar ro this:
-Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclasspath/a:C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classes;C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classesmic.jar
Path to the parser JAR files should be added at the end:
-Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclasspath/a:C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classes;C:PROGRA~1COMMON~1MERCUR~1SHARED~1JAVAAD~1classesmic.jar;d:tempguilibjaxen-core.jar;d:tempguilibjaxen-jdom.jar;;d:tempguilibjdom.jar;d:tempguilibnekohtml.jar;d:tempguilibsaxpath.jar;d:tempguilibxerces.jar;d:tempguilibxml-apis.jar;d:tempguilibhtmlparser.jar
inside WR
jco_create("TestGUI", outWriter, "HTMLParser");
This parser can be used with any Java classes that can output their content to a Writer object, as HTMLParser extends Writer class. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Have you used WinRunner in your project?
|
View Answer
|
|
Explain WinRunner testing process?
|
View Answer
|
|
What is contained in the GUI map?
|
View Answer
|
|
How does WinRunner recognize objects on the application?
|
View Answer
|
|
Have you created test scripts and what is contained in the test scripts?
|
View Answer
|
|
How does WinRunner evaluates test results?
|
View Answer
|
|
Have you performed debugging of the scripts?
|
View Answer
|
|
How do you run your test scripts?
|
View Answer
|
|
How do you analyze results and report the defects?
|
View Answer
|
|
What is the use of Test Director software?
|
View Answer
|
|
How you integrated your automated scripts from TestDirector?
|
View Answer
|
|
What are the different modes of recording?
|
View Answer
|
|
What is the purpose of loading WinRunner Add-Ins?
|
View Answer
|
|
What are the reasons that WinRunner fails to identify an object on the GUI?
|
View Answer
|
|
What do you mean by the logical name of the object.
|
View Answer
|
|
If the object does not have a name then what will be the logical name?
|
View Answer
|
|
What is the different between GUI map and GUI map files?
|
View Answer
|
|
How do you view the contents of the GUI map?
|
View Answer
|
|
When you create GUI map do you record all the objects of specific objects?
|
View Answer
|
|
What is the purpose of set_window command?
|
View Answer
|