What do you do if QTP doesn't recognize object ,what action
should be taken

Answer Posted / mohan

I think we can go for descriptive programing...

suppose the OK button in Login dialog is not recognised
then write description of OK button as below

Set MyDescription = Description.Create()
MyDescription("text").Value="OK"
.
.
.
script:
"Login").WinButton(MyDescription).click

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between quicktest professional (qtp) and winrunner?

671


can u explain relative path architecture framework in qtp?

1638


What is the syntax to call one action in another?

639


Explain how Selenium is different from UFT?

783


How to handle the exceptions using recovery secnario manager in quicktest professional?

743






what is profile tool?

1721


Can we create a qtp test from qc?

684


how to find that tools work well with your existing system?

1493


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1552


what is the hierarchy to use properties in descriptive programming

1602


How to find Operating system information using QTP script?

647


Which recording modes need more memory?

664


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1579


Where you get the run time data table?

672


breef description of batch testing ?

1789