Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If I run my script in new browser then script fails,
#4
Not Solved
can you try wait command

Give wait command after entering first text box script line

Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","C:\Documents and Settings\admin","open"

Browser("Browser").Page("Welcome to PAYMENT").Frame("HtmlFrame").WebEdit("CARDNUMBER" ).Set DataTable("CARD_NUMBER", dtLocalSheet)
Wait(5)
Browser("Browser").Page("Welcome to PAYMENT").Frame("HtmlFrame").WebEdit("CARDNUMBER").FireEvent("onblur")

See you can use direct application URL in systemutill command not necessary to open IE if your application is web app
Reply


Messages In This Thread
RE: If I run my script in new browser then script fails, - by rajaselvan.d - 05-11-2009, 10:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to close/restart UFT in "Not responding" status with AOM script CharlieMadrid 0 1,094 05-21-2020, 08:46 PM
Last Post: CharlieMadrid
  General run error when Exist fails msacks 1 1,701 02-08-2019, 02:12 AM
Last Post: Ankur
  Find the email using subject with the help of vb script Raheem Shaik 0 1,481 12-12-2018, 02:57 PM
Last Post: Raheem Shaik
  Need script to connect remote machine stalinvanama 1 1,516 09-27-2018, 08:12 PM
Last Post: stalinvanama
  "UFT has stopped working" is displayed during running the script kotaramamohana 0 1,224 08-24-2018, 01:07 PM
Last Post: kotaramamohana

Forum Jump:


Users browsing this thread: 1 Guest(s)