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


Please Help Members By Posting Answers For Below Questions

What is the disadvantage of loading the GUI maps through start up scripts?

595


What is the use of test director testing tool?

678


what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)

1879


Difference between winrunner and test director?

664


when start testing

2191






Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

1550


How do you handle pop-up exceptions?

598


What are the reasons that winrunner fails to identify gui object?

581


How do you identify which files are loaded in the gui map?

625


What in contained in the GUI map?

614


soft key for virtual object wizard ?

1896


what is the testing high level architecture

2391


This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.

1677


What is the purpose of gui map configuration?

613


How do you filter the objects in the gui map?

677