Hi,

Currently i am using winrunner for my project.Its a java
project. When i am running the script its failing in cliking
an image link("My Profile"). The image object is eventhough
exists in GUI map editor script is failing to recongize the
object. I am getting the error of "Web_image_click:"My
Profile" Error:Object is not found". I recorded the script
and executed it is not running it shows the same error.
The following physical description displaying in GUI map
editor :
{
class: object,
MSW_class: html_rect,
html_name: "My Profile"
}
The thing was running successfully, I could not able to
identify something happen to the script its showing error.

Please give solution for this problem.

Let me know if need more information.

Regards,
Sankar
shankarmg@gmail.com

Answer Posted / prasad

1. Use web_link_click("My Profile"). This is more reliable
than image click which takes pixel locations etc.
2. use web_refresh(window) after you do set_window. This is
needed when you hit submit etc but remain in same page.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where did you learn winrunner and testdirector?

687


How do you find out which is the start up file in winrunner?

596


Have you used winrunner in your project?

592


wat is the d/b windows 95&98&xp?could anybody give reply ?

1839


what is the difference between toggle checkpoint and checkpoint?

4251






What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

848


How do you configure gui map?

702


How do you suppress a regular expression?

1489


How do you maintain the document information of the test scripts?

576


What are the modes of script recording in winrunner ?

639


What actually happens when you load GUI map?

749


How do you copy and move objects between different gui map files?

644


How to find the local host name using winrunner ?

1691


Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

1557


What information is contained in the checklist file?

592