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 |
Is it possible to place a Logical name in a data table and can use that logical name in the script? Tell me with mentioning function names..?
What is test parameter
How to force wr to learn the sub-items on a menu?
What different actions are performed by find and show button?
My husband had stampped h1b visa and was valid for another 1year. problm is that he lost his pasport in travelling and we got new one in tatkal scheme. and so we applied for restamping and my dependent (h4)visa. As per immigration team petition will be the same only stamping has to b done.. what questions will they ask and what are the chances to get it aproved?? pl reply
What is the use of test director testing tool?
What is the purpose of regexp_label property and regexp_msw_class property?
How can we stop a automation program in middle of execution time?
How do you add a property to the checkpoint from the script?
how we will create the functions and calls that functions in the main test in winrunner
What string of characters,when printed out to a text file,will create a new line in the text file?
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