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
How can withwin runner to make single scripts which supports multiple languages?
How to get the resolution settings?
How do you load GUI map?
what is the testing high level architecture
How do you handle dynamically changing area of the window in the bitmap checkpoints?
What is tsl? What 4gl is it similar too?
What are the Win Runner tools for functional testing?
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
what is risk?
How do you filter the objects in the gui map?
What happens when the gui map file get loaded?
What is toogle breakpoints? How does it differ from break points?
two file is there how will compate it by useing qtp.
What are the virtual objects and how do you learn them?
What is the use of gui map and what happens when the gui map file get loaded?