hi
Set myobj=Description.Create()
myobj("type").value="submit"
myobj("name").value="google search"
myobj("html tag").value="button"
browser("title:=google").page("title:=google").webButton
(myobj).Click
i was running above code in one weak back it was working
fine i got result,again i opened after few days ,again i
was trying to run the code it shows run time error in last
line of my code ,why ?pls answer my question?
No Answer is Posted For this Question
Be the First to Post Answer
how does vb script help in web page designing? explain with example.
Write a Fucntion to close all Opened browser expect desired one?
What is the difference between VBScript and JavaScript?
In what way program "hello world" you can write in vbscript?
please can you help me to get a code of flames using a visual basic 6
How will you release the memory acquired by an array variable in vbscript?
write a qtp script to count the number of minimized windows
What are subprocedures in vbscript?
regular expression that will recognize a browser as long as its name property starts with mybrowser
pls tell me which is good book or site for vbscript?
My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.
what is event handling?