-->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 / manish

Browser("Name:=Browser name").page("title:=page
title").wededit("class:=name of the test").set
datatable.value(dtGlobalsheet,username)
Browser("Name:=Browser namae").page("title:=page
title").wededit("class:=name of the test").setsecure
datatable.value(dtGlobalsheet,password)

100% correct, try this out.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you check that your test cases covered all the requirements?

786


Can launch two instances of qtp on the same machine?

774


What are the different kinds of test steps?

799


There is an excel file of 1 to 100 sheets how you will iterate through it?

767


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1579


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1770


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1637


what type of run time errors you get while you ar edoing rpg program?

1703


Can we run test with out adding object in object repository? How it is possible?

818


How can i initiate the objects to find uniquely in OR

1670


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

880


What is object spy in quicktest professional?

817


Explain how to use QTP to check broken links on a page?

775


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1651


Explain how you can replace string in qtp?

819