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 to explain a banking project in interview as a test engineer???

0 Answers   Accenture,


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

0 Answers   TCS, IBM,


write a script to verify the image path(src property) of the images which are in web pages.

0 Answers  


Can we directly automate testscripts accrdoing to requirements? WHY ?

1 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?

1 Answers   TCS,






For which type of projects the iterative model is not suitable?

0 Answers  


I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

0 Answers   TCS, Cap Gemini,


I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code? 

2 Answers   Genpact, FFASVA, Wipro,


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

0 Answers   BirlaSoft,


write a qtp code to display all the items in the fly from combo box or list box

3 Answers  


How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2

1 Answers  






Categories