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...

How do we create and run the scripts with out using O.R. ?

Answer Posted / rani

We can create and run the scripts without Object Repository,
Object Repository is nothing but collection of properties
and corresponding values. Each collection represents an
object.
Descriptive programming is a way of specifying properties
and values without using the OR interface.
Throwing the properties and values straight into the
command.

Ex:
Systemutil.Run"www.mail.yahoo.com"
Set a=Browser("name:=Yahoo!.*").page("title:=Yahoo!.*")
a.WebEdit("name:=login").Set "yourusername"
a.WebEdit("name:=passwd").Set "xxxx"
a.Webbutton("name:=Sign in").Click

You can try this code.It should work if you provide valid
username and password.
Let me know still if you are not clear on this.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1798


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

2040


How to use setroproperty?

950


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1987


Did the scripts need lot of maintenance? If yes, why?

3742


How do client side image and server side image work?

1770


How to handle Java tree in QTP?

1258


Name the properties you would use for identifying a browser and page when using descriptive programming?

943


What are the advantages of a Hybrid framework?

1057


What are the types of object repositories? Which one is you are using?

1112


Is it possible to switch between recording modes during a test creation?

981


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2601


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1838


what is object and child object.. explain ..if possible give some example for better understanding ..

1933


How to modify the text checkpoint?

1056