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.....
Answer Posted / 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 View All Answers
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
How to get Traceability matrix from TD?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
hou can we use vb script in qtp could u tell me breafly
How to get popup error message.
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What are test settings and global settings?
Explain object spy in qtp.
How to use Environment parameterization? Explain with an example.
How you create new action in qtp?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
How many types of trigger events are there in qtp?
How to capture all the data of a webtable, weblist and combolist using QTP?
How can you write the scripts that operate on different objects depending on run-time information?