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


Hi any body can tell me the in detaled information about
Description.Create() thanks in advance

Answers were Sorted based on User's Feedback



Hi any body can tell me the in detaled information about Description.Create() thanks in advance..

Answer / chandu

description .create() is used for descriptive programming
without adding the objects in the Obj repository we'll use
this. for example to create a button object use the
following code

set b1=description.create
b1("Class Name").value="webButton"
b1("attached text").value="OK"

Is This Answer Correct ?    0 Yes 0 No

Hi any body can tell me the in detaled information about Description.Create() thanks in advance..

Answer / kumar .c

Description.Create() is indicated the Descriptive
programming starting syntax. it is used for when
objectrepository is not available and when client ask
spcifically then tester go for descriptive programming.


the following code is example for login page descriptive
programming

Set br= descrition.Create
br("applicationversion").value = "internetexplorer 6"
set pg= description.create
pg("page name").value = "Login"
set weu=description.create
we("text").value = "username"
set wep =description.create
wep("text").value = "password"
set wb=description.create
wb("name").value = "OK"
login page script
systemutil.run "serverpath","",".exepath".open
browser(br).navigate "url"
browser(br).page(pg).webedit(weu).set "chaitu"
browser(br).page(pg).webedit(wep).set "merrcury"
browser(br).page(pg).webbutton(wb).click

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Where you can store check point results?

3 Answers  


Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


Why we have to split actions in a test?

4 Answers  


What are the Automation Limitations??

1 Answers  


what is exact difference between smoke and sanity testing?

6 Answers   Satyam,


How to send the qtp results file by email (Lotus notes).

1 Answers   TCS,


How to retrive XML file data in QTP ? using Script(Chandana)

6 Answers   Wipro,


how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.

3 Answers  


Give the syntax to import/export xls into qtp.

0 Answers  


why should we give deliver good quality software?

0 Answers  


Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?

1 Answers  


If a object property is changed in the application. where it should be updated in QTP... Pls anybody can give the answer.. Thanks in advance...

4 Answers   Navis,


Categories