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


Please Help Members By Posting Answers For Below Questions

I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

679


How to creating an output value using quicktest professional?

629


If I change the property value at runtime is it effect is object repository?

710


Can we record using all the modes in a single script? Explanation with example is appreciated

1469


Is it possible to use two instances of UFT on the same machine? If not why?

708






What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1102


How you can decide which type of object repository you have to use?

784


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2887


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

1860


How to modify object property in qtp ?

652


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

674


How will you declare a variable in qtp?

638


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

677


Describe function procedure in vbscript.

658


What are the different types of recording modes?

614