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 to know the on which OS and version the application is running through script in winrunner?
Suppose there is a global variable called Counter.And there is a user defined function called my_function.which does not take in any parameters. How can a test engineer utilize Counter inside my_function body?
I want to do smoke test in my application but i have learnt the application before recording but im getting an error class name not found while running the script.I want to check each links and each text in my application. Can anybody answer my quesion plz.If it is possible i want test script for Yahoo login form with "New User" Login.
What is the different types of Data driven testing?
What we have to do if winrunner is not able recognize an object even if we have mapped the object with standard windows object used by winrunner using wirtual object wizard?
what is mean by test coverage?
how do you analyze the properties associated with object
Have you ever created a start-up script?
Where are the expected results will be stored?
Explain the purpose of gui map configuration?
What is open STA?Explain in detail.
pls write test case for google and yahoo mail page. pls any body known the answer immediatly post the answer