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

-->IF two TextBOxes are there in a "Form".
-->A table contains some records which contains usernames &
password..
-->What is the script we need to write using Descriptive
programming concept...in QTP (simply DATA DRIVEN TEST
SCRIPT OF QTP)?

Answer Posted / krishna chand

Option Explicit
dim uid,pwd
uid=datatable(1,1) ' consider user name is in 1st row
1st 'column
pwd=datatable(2,1) ' consider password is in 2nd row
ist 'column
browser("broswer name").page("page name").webedit("User
name").set user name=uid
browser("broswer name").page("page name").webedit
("Passord").set secure password=pwd

' The entire script is may not correct. But the procedure
is correct

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the key points to create a framework in QTP for oracle forms?

2232


distinguish between old version and new version QTP features.

2309


How many types of trigger events are there in qtp?

982


How you calling actions in qtp?

1018


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

2001


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1923


What is contained in the object repository?

1064


How to add verification steps to tests?

9719


How to use the object spy in quicktest professional (qtp) 8.0 version?

923


How does qtp identify the object in the application?

928


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

2056


What is the recovery scenario in qtp?

1010


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

2095


Explain the concept of how quicktest professional (qtp) identifies object?

975


Please guide me release notes of Automation once scripts are completed

1874