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

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

0 Answers  


str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer

3 Answers   Ziynx,


What is text/text area checkpoint?

0 Answers  


How to load object properties to object repository through scripting.give one example

7 Answers   IBM,


How many ways return more then one value from function?

2 Answers   Ingram Micro,






what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

0 Answers  


I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?

5 Answers   AZTEC,


How should i find out whether the cursor is moving horizantally. when tabbing continuously

2 Answers   Livetek,


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

0 Answers  


What the differences are and best practical application of each.

1 Answers  


What is difference between run time object and test object?

0 Answers  


How can we change the .mtr file to .tsr file and vice-versa

3 Answers   Wipro,


Categories