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

somebody please say me why we go for using regular expressions,actions.what is the main and exact use of this in real time applications.real time testers pls answer my question with example if u can

4 Answers  


How do u use Database checkpoints and what are the use?

4 Answers   Qualtree Solutions,


Can any one please explain hwo to test client/server application using QTP?

3 Answers   Patni, Value Labs,


give me an example where u used good judgement and logic in solving a problem

0 Answers  


Hi, Can anyone help me in esimating time for an application using QTP tool.. What factors should be considered while calculating the estimation time for QTP... Thanks in advance... Prasad Gali

3 Answers  






What is the use of text output value in quicktest professional?

0 Answers  


interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?

3 Answers   Accenture,


what is the difference between the modular framework and datadriven frame work

2 Answers  


any one can explain about QTP proocess,means where to start and how to start Scripting.

3 Answers  


do you prepared framework,pls answer this

1 Answers  


Hi All, I need 5 yrs exp manual and automation testing using QTP sample resume. is there any body having please send me my mail id is bjr@aol.in Tahnks in Advance

0 Answers  


Few basic questions on commonly used Excel VBA functions.

1 Answers  


Categories