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

any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

2879


How does qtp recognize objects in aut?

21


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

778


Sql questions to find second max salary and how to use joins

319


How do you convert manual test cases to automated test cases?

34






Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

998


What is the latest version of qtp?

3


can test automation improve test effectiveness?

924


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

2239


Define object spy ?

1


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1142


What is the difference between analog and low level recording?

26


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

747


Explain quicktest professional (qtp) testing process?

7


How to carry out bit map check points in QTP

1160