5 Answers, 1 is accepted
0
Hi John,
are possibly to referring to Javascript?
Java technologies are usually integrated in a web page in the form of a Java applets:
http://en.wikipedia.org/wiki/Java_applet
Java applets have really gone out of style which leads me to believe you might be working with Javascript instead.
Test Studio does not support testing of Java-based technologies. With applets we can only detect that they're there (screenshot 1) but not actually perform any verification. If you're app has a Java applet-based popup maybe it's possible to record a WaitForElementsExists on it - the way to pause the test while the “processing please wait”
message is there is to simply wait it out. You record a WaitForElementExists (screenshot 2) which will resume execution only when the element is no longer there and we are thus ready to continue executing.
If you have Javascript loading screen you need to follow the same approach but it will be easier to record the necessary Verifications. It might be trick if the loading screen doesn't appear for long enough to record - then you might need to write the Verification manually in code. Please share some additional details related to this automation challenge so that we may assist you better.
Best wishes,
Stoich
the Telerik team
are possibly to referring to Javascript?
Java technologies are usually integrated in a web page in the form of a Java applets:
http://en.wikipedia.org/wiki/Java_applet
Java applets have really gone out of style which leads me to believe you might be working with Javascript instead.
Test Studio does not support testing of Java-based technologies. With applets we can only detect that they're there (screenshot 1) but not actually perform any verification. If you're app has a Java applet-based popup maybe it's possible to record a WaitForElementsExists on it - the way to pause the test while the “processing please wait”
message is there is to simply wait it out. You record a WaitForElementExists (screenshot 2) which will resume execution only when the element is no longer there and we are thus ready to continue executing.
If you have Javascript loading screen you need to follow the same approach but it will be easier to record the necessary Verifications. It might be trick if the loading screen doesn't appear for long enough to record - then you might need to write the Verification manually in code. Please share some additional details related to this automation challenge so that we may assist you better.
Best wishes,
Stoich
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
0
John
Top achievements
Rank 2
answered on 25 Aug 2011, 08:27 PM
My script halts when the following appears on the screen to long. Please see screen shot it appears and when that is loaded then it goes away.
thanks,
John
thanks,
John
0
John
Top achievements
Rank 2
answered on 26 Aug 2011, 04:47 PM
Here is a video recording of what I see. You will see where it stops and what the screens are. I was told the "Processing please wait.." is in java.
thanks,
John
thanks,
John
0
Hello John,
that seems to be an AJAX loading animation indication an AJAX postback is occurring.
You'll probably need a coded step in order to wait it out the way you intend to. Check out the following KB article:
http://www.telerik.com/automated-testing-tools/support/kb/how-to-wait-for-an-ajax-postback-to-complete.aspx
All the best,
Stoich
the Telerik team
that seems to be an AJAX loading animation indication an AJAX postback is occurring.
You'll probably need a coded step in order to wait it out the way you intend to. Check out the following KB article:
http://www.telerik.com/automated-testing-tools/support/kb/how-to-wait-for-an-ajax-postback-to-complete.aspx
All the best,
Stoich
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
0
John
Top achievements
Rank 2
answered on 29 Aug 2011, 05:49 PM
I think I came up with a simple solution and that is to wait while object is still visible. In this case while (visible) wait 250.
I hope this works as well...
John
I hope this works as well...
John