Recording from open web application leads to failure in testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010
01:40 PM
06-03-2010
01:40 PM
Recording from open web application leads to failure in testing
Hi,
I am testing TextComplete 7 currently.
I was recording actions from open web browser (simple search action from Google).
When I finished recording and ran the test it did not work. (Refer to attached screen shot)
I did not have a problem to record and test other window application, but web browser.
Could anyone let me know what is going on?
Thanks,
I am testing TextComplete 7 currently.
I was recording actions from open web browser (simple search action from Google).
When I finished recording and ran the test it did not work. (Refer to attached screen shot)
I did not have a problem to record and test other window application, but web browser.
Could anyone let me know what is going on?
Thanks,
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2010
12:06 AM
06-04-2010
12:06 AM
Main question: How many copies of the browser were opened? Or, if only one instance of the browser, how many tabs? The aliases created during record are probably referencing a Sys.Process('iexplore') instance with an index of 1. If, during playback, a second instance of the browser was opened or a second tab on the browser was opened, that changes the index on the windows process and makes the searches in the aliases unable to find the browser instance.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2010
01:32 AM
06-04-2010
01:32 AM
Hi,
The problem is that the page object cannot be found, as the mapping criteria are incorrect. To find objects by their mapped names, TC uses values of identification properties. One of the properties used to map a web page is its URL. In your case, this means that during the playback, the URL of the currently opened page differs from that stored for the pageIgoogle mapped object. You need to modify the URL property value for this mapped object to make the value correspond to the URL of the currently opened page. For example, 'http://www.google.com.au/*' (without quotes).
Also, I recommend that you use the 'Ignore dynamic URL parameters' option in the future.
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
