SilkTest Question:
Download Job Interview Questions and Answers PDF
When invoking the java application there the application is getting invoked
Answer:
When invoking the java application there the application is getting invoked (that is silk test is able to start my java apllication) and then comes login screen but silk Test is giving error JavaMainWin not found.
Why ? it is not coming out of invoke and excuting other part of code like entering username & password to login in that application.
Answer1:
After Invoking the application, Silk waits till it can find the application...In this case the application is your java window....
Sometime it happens that after invoking, silk is unable to recognize but if you invoke manually it works fine...
Solution:
Declare a window variable and use start method.
Now you might using the code
JavaAppWindow.Invoke ()
Instead of this do the following
Window MyJavaApp
MyJavaApp.Start ("path of exe or batch file to invoke the application")
sleep (x) (x --> appropriate value)
Answer2:
window MainWin MyWin // declare as global
main ()
try ()
testcase try () appstate none
MyWin.Start(sPath)
Answer3:
When you give start command as a part of JavaMainWin, ensure that your class path is running independantly - outside the Silk. It should work fine from JavaMainWin as well.
Why ? it is not coming out of invoke and excuting other part of code like entering username & password to login in that application.
Answer1:
After Invoking the application, Silk waits till it can find the application...In this case the application is your java window....
Sometime it happens that after invoking, silk is unable to recognize but if you invoke manually it works fine...
Solution:
Declare a window variable and use start method.
Now you might using the code
JavaAppWindow.Invoke ()
Instead of this do the following
Window MyJavaApp
MyJavaApp.Start ("path of exe or batch file to invoke the application")
sleep (x) (x --> appropriate value)
Answer2:
window MainWin MyWin // declare as global
main ()
try ()
testcase try () appstate none
MyWin.Start(sPath)
Answer3:
When you give start command as a part of JavaMainWin, ensure that your class path is running independantly - outside the Silk. It should work fine from JavaMainWin as well.
Download SilkTest Interview Questions And Answers
PDF
Previous Question | Next Question |
How to define new testplan attributes? | How to assign attribute values to test cases? |