Hi,
I am new to QTP and vb.script.How to start to write
vb.script in QTP? Please give me suggestions?
Answer Posted / satyanarayana
Hi dear it is very easy to write vb scripting.
First of all we have to understand what the actions to be
performed by us on the application.
Actions means entering a value or clicking a button or
selecting a value from a list dropdown list or selecting or
deselecting a check box.
example for a edit box
Browser("browsername").Page("pagename").Webedit("username").set"satyanarayana"
like the above for buttons .click
for list boxes .select"satyanarayana"
for radio buttons .set
for check boxes .set"on/off"
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Hi Samrat, Thank u very much, what u said it is right.
What is keyword driven framework?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
Can we record an application running on a remote machine using qtp?
What are the check points can be inserted without recording?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
what testplan contents and what test strategy contents,what is the diff b/w them
What is action split and the purpose of using this in qtp?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
How to execute a winrunner script in quicktest professional?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
What is the difference between rational rose and QTP?
What is the difference between run time object and test object in QTP?
How to associate function library at a run time?