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 |
how many types of object repositories in winrunner & tell me difference for those
what is the syntax for regular expression.dont send the types like regexp_label,regexp_msw_class
What is the difference between bitmap checkpoint and image checkpoint?
How to test Fonts and its size thru "Font Expert" in Win Runner.
What are the standards will you maintain at the timing of writing TSL script in WinRunner?
is 'tech' is a Reserved word in WinRunner or not?
how scripting language & programming language are different?
what is custom check point? what is the diff.between custom check point and runtime Record check ?
2 Answers Infeneon Technologies,
can we run compiled-mod function in a compiled module function?if yes then fwd sample script?
How to Import(insert) data from an excel sheet to Database(table).
How does WinRunner recognize objects on the application?
How to convert Manual Test script into Automation Test Script?