Forum Discussion
Hi Lexi
In connection with your mail (Issue# M0079354] Web Submission - mapped name is
working fine for IE8 but not working on FireFox)
Thanks for your precious effort!
I am sending my project suit again along with the
problematic log and successfully executed log.
My problem is as follows:
1.
In my script folder we have created four
directory named Common Function, Config_Setting, Declaration, TestCases.
2.
Into ‘TestCases’
directory we made one script unit named “main”
3.
From the ‘main’ unit we call one” Web_LoginTest(browser)”
routine which again call “OpenLoginform(page)”
and “AdminLogin()”
routines one by one.
4.
“OpenLoginform(page)”
routine uses the mapped name of link to click on link and executes successfully
on both browser i.e. IE8 and Firefox.
5.
But when we call AdminLogin() routine which uses mapped name
of text box to set text into the text box executes successfully on IE8 but
script gets stop on firefox due to “The Object does not exist” error. So we
again mapped name using firefox browser(You can see under “Name Mapping t”
tree) and impose If Else conditional statement into AdminLogin() routine and put mapped name
which is created by using firefox into the if block (if(Project.Variables.browserName="FireFox"))
and put mapped name which is
created by using internet explorer 8 into the if block (If (Project.Variables.browserName="Internet Explorer 8")) for successfully
execution of routine.
So we could not understand that one
mapped name (for link) is working fine on both browser and another mapped name
(for text box ) is working only on IE8.
Thanks and regards
Govind