Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Apart from VB script What are the fundamental criteria to
gain the knowledge to write QTP script without OR and
recording ?

Answer Posted / suresh.testing

In order to develop this script we should know the test
object descriptive properties & values (By using objectspy)

Ex:Static Descriptive program for login page(Banking
application)


Browser("name:=usRanfordbank").Page("title:=Ranfordbank").WebEdit("html
id:=txtuid").Set "Admin"

Browser("name:=usRanfordbank").Page("title:=Ranfordbank").WebEdit("html
id:=txtpwd").Set "suresh"

Browser("name:=usRanfordbank").Page("title:=Ranfordbank").Image("html
id:=login").Click

------------------------------------------------------------Ex:
Dynamic Descriptive program for login page (banking application

set br=description.create
br("name").value="usRanfordbank"

set pg=description.create
pg("title").value="usRanfordbank"

set uid=description.create
uid("html id").value="txtuid"

set pwd=description.create
pwd("html id").value="txtpwd"

set img=description.create
img("html id").value="login"

Browser(br).Page(pg).WebEdit(uid).Set "Admin"

Browser(br).Page(pg).WebEdit(pwd).Set "suresh"

Browser(br).Page(pg).Image(img).Click

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to analyzing test results using quicktest professional?

1120


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2224


Is text area check point supports for web applications?

915


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1983


how do u plan test automation?

1854


What are the automation metrice in your project?

2229


how did u use automating testing tools in ur job?

1899


what is the difference between IE & Netscape in web testing on a log in page

2248


Why qtp always start action1 and does not start action?

1031


Explain the types of properties that quick test learns while recording?

956


What are the types of properties that quick test learns while recording?

974


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1262


What do you mean by checkpoints in qtp?

951


What is clean sweep?

1757


How can get count of list box?

1058