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
Answers were Sorted based on User's Feedback
Answer / varsha
I think this may caused because u hv not loaded Java add
ins in winrunner.While testing java application using
winrunner in start up script there's option provided to
load Java add ins.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / nisha
In Some case winrunner does not identify the objects....
that time with the help of GUI SPY we need to check whether
winrunner identifys the object or not....if not by using
GUI SPY you can add that object and then perform the test.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is Recovery senario?
what is risk?
How you used WinRunner in your project?
what is the basic knowledge required to work in BFSI domain ?
7 Answers HCL, Nucleus Software, Standard Chartered,
how you execute the function
what are Recoring modea available in winrunner?
3 Answers Second Foundation, TCS,
what load_dll in winrunner
What is the use of gui map and what happens when the gui map file get loaded?
what is meant by build release note?what it contains?
How to write TSL for exception handling
In the Object properties MSW id,MSWclass will appear..what exactly MSW means..?
what is TSL script to connect testdirector through winrunner