This is a migrated thread and some comments may be shown as answers.

Recording script in FireFox Browser

8 Answers 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 25 Jun 2010, 10:49 PM
Hi
  I am new to this tool. Can some one help me to find out a way , for recording my script in Firefox browser.

8 Answers, 1 is accepted

Sort by
0
Missing User
answered on 25 Jun 2010, 11:07 PM
Hi Amit,

Thanks for the question and your trial of WebUI Test Studio. While you can run tests in Internet Explorer 7 or 8, Firefox, and Safari, WebUI currently only supports recording in Internet Explorer 7 or 8.

If you have not seen this already, please check out this link that has links to the quick start guide and tutorial videos.

Please also let us know if you have any further questions.

All the best,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Amit
Top achievements
Rank 1
answered on 25 Jun 2010, 11:54 PM
Hi Nelson
 I recorded the script in IE and when i run in Fire fox it fails at places where i am enetring data. So i might be doing some thing wrong. Is theer any way i can talk to support or do a webex session.

Thanks
amit
0
Amit
Top achievements
Rank 1
answered on 26 Jun 2010, 01:19 AM
HI Nelson
  So now Firefox issue is resolved. I might be doing some thing wrong. Now next issue is i want to pass value of a particular field from local database.

'Set 'NoteIdText' text to '10'

Pages.WelcomeToIPGearCatalog2.FrameSntQuickViewFrame.NoteIdText.Text =

 

"10"


I want to pass value "10" in above example from a local database which will iterate. Can you let me know right sysntax. My local database field name is Col1.

 

0
Missing User
answered on 28 Jun 2010, 03:48 PM
Hello again Amit,

Here is the code in Visual Basic:

'Set 'NoteIdText' text to '10'
  
Pages.WelcomeToIPGearCatalog2.FrameSntQuickViewFrame.NoteIdText.Text = CType(System.Convert.ChangeType(Data("Col1"), GetType(String)),String)

However, we strongly recommend that you keep the recorded steps as is and only use customized steps for testing scenarios that do not have built in WebUI features that cover the scenarios.

This is for ease of test step maintenance and changes to the test overall. Please let us know if you have any further questions.

All the best,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Amit
Top achievements
Rank 1
answered on 29 Jun 2010, 04:43 PM
Hi Nelson
  Thanks for your help. It worked. However i do have one more folow up question. I want to set some delay in one of my test step.Can you help me where can i do that. I looked at the exceution in properties, it only talkes about TimeOut and not delay.


Thanks
amit
0
Missing User
answered on 29 Jun 2010, 06:20 PM
Hi again Amit,

You can add a Delay Execution Step from the '+ More...' drop down menu in the Record Tab. Please see this Quick Start Guide for reference.

Best wishes,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Amit
Top achievements
Rank 1
answered on 30 Jun 2010, 02:16 AM
Thanks. it worked.
I am again having issue with FireFox browser. My script works fine with IE but with firefox it fails. I am trying to click a link which is supposed to download a file. But in Firefox , script is not able to click on that link. IThanks
Amit
==================================================================================

Overall Result: Fail
--------------------------------------------------
'6/29/2010 6:11:28 PM' - 'Pass' : 1. Navigate to : 'http://ipgear1:2647/'
'6/29/2010 6:11:28 PM' - 'Pass' : 2. Handle 'Logon' dialog.
'6/29/2010 6:11:28 PM' - 'Pass' : 3. Select 'ByValue' option 'Deliver' on 'NoteTypeSelect'
'6/29/2010 6:11:28 PM' - 'Pass' : 4. Set 'NoteIdText' text to '10'
'6/29/2010 6:11:29 PM' - 'Pass' : 5. Click 'Button'
'6/29/2010 6:11:35 PM' - 'Fail' : 6. Click 'DownloadNbspLink'
--------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [TextContent 'StartsWith' Download P] AND [tagname 'Exact' a]

Inside Frame:[Frame:name=sntOutputFrame,src=http://ipgear1:2647/scripts/isynch.dll?panel=SyncNotesTopIntro,UseQuery:True]
Unable to locate element. Search failed!

--------------------------------------------------
'6/29/2010 6:11:35 PM' - Detected a failure. Step is marked 'ContinueOnFailure=True' continuing test execution.
'6/29/2010 6:11:40 PM' - 'Fail' : 7. Click 'Submit'
--------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [value 'Exact' Submit] AND [tagname 'Exact' input]

Inside Frame:[Frame:name=sntOutputFrame,src=http://ipgear1:2647/scripts/isynch.dll?panel=SyncNotesTopIntro,UseQuery:True]
Unable to locate element. Search failed!

--------------------------------------------------
'6/29/2010 6:11:40 PM' - Detected a failure. Step is marked 'ContinueOnFailure=True' continuing test execution.
--------------------------------------------------
'6/29/2010 6:11:41 PM' - Overall Result: Fail
--------------------------------------------------


0
Missing User
answered on 30 Jun 2010, 06:52 PM
Hello again Amit,

So for your latest post in this ticket, I already replied to your other ticket on the same subject, please view my response there.And while on this ticket concerning the Delay Execution step, I'm glad you got it working.

But if possible, please try using a 'Wait For Visible' or 'Wait For Exist' test step on some element on the page. That way, the test timing will be more dependent on the page itself versus waiting some arbitrary time.

All the best,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Amit
Top achievements
Rank 1
Answers by
Missing User
Amit
Top achievements
Rank 1
Share this question
or