Click here to Skip to main content
15,441,434 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have created a sctipt in uft which is working fine in Internet explorer but i want to use same script for firefox

'Launch of Internet Explorer
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe", ""
browser("IRCTC Next Generation").Page("IRCTC Next Generation").WebEdit("username").Set "xxxxxxxx"
browser("IRCTC Next Generation").Page("IRCTC Next Generation").WebEdit("password").SetSecure "xxxxxxxxxxxx"
capcha_Var = InputBox("Enter the capcha", "Capcha")
browser("IRCTC Next Generation").Page("IRCTC Next Generation").WebEdit("captcha").Set capcha_Var
browser("IRCTC Next Generation").Page("IRCTC Next Generation").WebButton("Login").Click
'login sucess or unsucess
Browser("E-Ticketing").Page("E-Ticketing").Check CheckPoint("E-Ticketing")
'jorney Details
Browser("E-Ticketing").Page("E-Ticketing").WebEdit("fromStation").Set "VIZIANAGRAM JN - VZM"
Browser("E-Ticketing").Page("E-Ticketing").WebEdit("toStation").Set "SECUNDERABAD JN - SC"
Browser("E-Ticketing").Page("E-Ticketing").WebEdit("journeyDate").Set "3-3-2015"

[edit]SHOUTING removed - OriginalGriff[/edit]
Updated 30-Jan-15 4:47am
CHill60 30-Jan-15 9:30am    
So what happens when you try?
OriginalGriff 30-Jan-15 9:58am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalization if you want to be taken seriously.
Leo Chapiro 30-Jan-15 10:48am     CRLF
I would start with this code: SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe"
murlikrishna 30-Jan-15 23:36pm    
uft is not recognizing when i use firefox

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900