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

when a test case is written how u test using qtp

1862


Discuss the QTP Environment?

810


How do you delete unwanted results in qtp?

808


What is the use of ordinal identifier in qtp?

761


explain abt dyanamic changing object with example?

2075


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

2022


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1637


What are the steps involved in the recovery scenario wizard?

757


Can we create user defined functions in qtp?

741


What are the main differences of qtp and win runner?

797


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

2051


What is throw object?

1990


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

797


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1661


What is keyword driven framework?

811