Hi,
I am new to QTP and vb.script.How to start to write
vb.script in QTP? Please give me suggestions?
Answers were Sorted based on User's Feedback
Answer / kondalu
for example: calculator(table as form1) boxes in editbox as
the value1 and value2 and result,buttons as the
add,sub,mul,divide ,clear this in application vbscript
given bellow
vbwindow("form1").Vbedit("value1").set "10"
vbwindow("form1").vbedit("value2").set "20"
vbwindow("form1").vbbutton("add").click
vbwindow("form1").vbbutton("sub").click
vbwindow("form1").vbbutton("mul").click
vbwindow("form1").vbbutton("divide").click
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
Answer / geena
Do record and play. U will understand how the script
appear. Then try.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is object identification?
Explain types of exception handling and script for that?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761
What is the concept of hooking in QTP?
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
how do you done Data-driven test using MS-Word Instead of DataTable
Diff. between keyword driven Data driven testing?
can any one make me confirm about a real time employee with better experience in QTP who is providing QTP course individually in Bangalore???
is there any addin for remedy user application
hi.what is exactly mean by real time frame work? every institute teach Framework is nothing but having 6 to 7 folders..and save repositories functions keywords and scripts? this is enough or not? can we beleive?