The Senario is
Steps to do
1.Entered userid in textbox
2.saved with details
3.i want to open user which i have created

its in hurry.....






The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open use..

Answer / guest

What i understood is Enter USerid and save that in to DB
and retrive from DB, if the scenarion is that then the
script will be

window("WN).winedit("Userid").set"xxxxx";
x=window("WN).winedit("Userid").getvisibletext(userid);
set conn = createObject(ADODB.conection);
set comm = createObject(ADODB.command);
set rs = createObject(ADODB.Recordset);
conn.provider = "Provide the DB provider name"
comm.activeconnection=conn;
comm.open = "insert x into user";
comm.execute;
res.open "select * from user",conn

Is This Answer Correct ?    1 Yes 0 No

Post New Answer




More QTP Interview Questions

How do you perform testing on web based application using qtp 9.2?

1 Answers  


how do you configure QTP AND Test director?

1 Answers   Satyam, TCS, VB,


in qtp how we work with out put values and what is the process?

4 Answers  


What r the advantages of automation?

3 Answers  


Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?

2 Answers  






what is key word driven frame work how to use keyword driven frame in QTP in a project

1 Answers   AppLabs,


write script to read and write data from file ?

2 Answers   HealthAsyst,


does test plan is in test strategy or test strategy is in test plan.

6 Answers   Microsoft, TCS,


How 2check the color of the text in the textfield . say suppose the text entered in the textfield object is appearing in red. so i want to check whether the text is in red color or not. It could be great help for me if any one solve's my issue. plz...help

5 Answers   Sinertel,


There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.

1 Answers  


Explain in brief about the QTP Automation Object Model.

1 Answers   Crea,


How can i count the list box elements in QTP ?using script plz explain me (Chandana)

6 Answers   Wipro,






Categories