Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code issue
#11
Solved: 10 Years, 9 Months ago
vbs file of urs which u used and .tsr file,i will execte here .
Reply
#12
Solved: 10 Years, 9 Months ago
I used a very simple vbs file, which returns a message box
Code:
msgbox "Message from VBS File"
you can create a vbs file with this and try.

regarding tsr file - I have not used any as I dont for what purpose you are adding it.
are you trying to add the repository to the vbs file?

Reply
#13
Solved: 10 Years, 9 Months ago
ok, will try and let u know saket .Thanks alottttt .
Reply
#14
Solved: 10 Years, 9 Months ago
In vbs file just ur code pasted and tried ..thats also not working.dont know wats the issue behind of this .In setting->run ->i selected run all rows .is this any issue ?pls suggest .Otherwise is there any code issue ?
Reply
#15
Solved: 10 Years, 9 Months ago
No Setting run on all rows should not cause any issue. what is the error you are getting now?

Reply
#16
Solved: 10 Years, 9 Months ago
No error .Its running successfully .Iam not getting output that msgbox
Reply
#17
Solved: 10 Years, 9 Months ago
what is the output for this statement in your for loop
msgbox datatable.Value("Script_Path","newsheet")

Reply
#18
Solved: 10 Years, 9 Months ago
When i debuging ,cursor never going into the if condition .

Thats the problem.Iam attaching the excel sheet vbs files and .tsr file try from ur end .Change the Paths in the excel .
[quote='1981.madhu@gmail.com' pid='8578' dateline='1256910290']
When i debuging ,cursor never going into the if condition .

Thats the problem.
Hi,

intItem = RandomNumber.Value(LBound(arrAllItems), UBound(arrAllItems))
Window("Flight Reservation").WinComboBox("Fly From:").Select "#" & intItem

While executing above code getting error .Pls help mew
Reply
#19
Solved: 10 Years, 9 Months ago
I cant find any attachment, can you upload it again?

Reply
#20
Solved: 10 Years, 9 Months ago
my vbs file code as below:

Code:
SystemUtil.Run  "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"

Dialog("Login").WinEdit("Agent Name:").Set("madhu")
Dialog("Login").WinEdit("Password:").Set ("mercury")
Dialog("Login").WinButton("OK").Click

and .tsr fiel nothing but recorded flight application

excel file as below

1st column header->Script_Path and its path as C:\Documents and Settings\madhu\Desktop\Loginn.vbs
2 nd column header->Repository_Path and its path as :C:\Documents and Settings\madhu\Desktop\Flight.tsr
3 rd header->column Flag and its value as :Y


while debugging in my code Cursor not going inside the IF cONDITION (iNSIDE OF CODE)Pls suggest
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)