vbs file of urs which u used and .tsr file,i will execte here .
Code issue
|
I used a very simple vbs file, which returns a message box
Code: msgbox "Message from VBS File" 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?
ok, will try and let u know saket .Thanks alottttt .
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 ?
No Setting run on all rows should not cause any issue. what is the error you are getting now?
No error .Its running successfully .Iam not getting output that msgbox
what is the output for this statement in your for loop
msgbox datatable.Value("Script_Path","newsheet") ![]()
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
my vbs file code as below:
Code: SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" 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 |
« Next Oldest | Next Newest »
|
Users browsing this thread: 2 Guest(s)