Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

New user extenstion for browser related testing. Empty New user extenstion for browser related testing.

Fri Sep 11, 2009 6:17 pm
Hi Guys,

Good news for you. i have developed one user extenstion for browser related function which is not possible to do with relgular selenium command. This user extension is developed to provide extra functionality to users of selenium. It contains both store and assert commands.

Note: This user extension is working fine in IDE but I have not tested in RC.

This user extension contains the following functions:

1. StoreBrowserName :

This function store browser name in which AUT testing is going. It will tell you the name of browser like Netscape or Microsoft browser. Provide the value in any Target/value options of IDE.

2. StoreBrowserVersion :

This function store browser version in which AUT testing is going. It will tell you the version of browser like "en-Us 2.0". Provide the value in any Target/value options of IDE.

3. StorePlugInNumbers :

This function store plug in number installed in your browser. It will tell you all the plugins numbers which is also hidden like "16". Provide the variable in 'value' options of IDE.


4. StorePlugInInstalledText :

This function will provide you a plug in text on the basis of index value you are providing in 'target' option of IDE. Suppose you have installed selenium IDE in 3 position and you want to get text so just enter 3 and give variable name in which you want to store text.

5. StoreBrowserCodeName :

This function is similar to storebrowserName but it give you a code name of browser like name = "Netscape" code = "Mozilla". so you get Mozilla as a result in this function.

6. StoreBrowserLanguage :

This function store browser current language selected in your browser like "en-US". This function is useful for different language testing.

7. StoreBrowserPlatformInfo :

This function store current platform on which your browser is running like "Win32". this is useful where you are testing your application on different platforms.

8. StoreBrowserScreenResolution :

This function store current screen resolution of your window/application like "1152,864". This function is useful for different resolutions testing.



Check out all this stuff at following link :
http://www.mediafire.com/file/5tunwzzzzuy/Browser_userExtension.rar


New user extenstion for browser related testing. Icon_basketball Enjoy it guys New user extenstion for browser related testing. Lol


Last edited by Adviser on Sun Nov 22, 2009 10:02 pm; edited 1 time in total
avatar
tkFFM
Posts : 1
Join date : 2009-09-28

New user extenstion for browser related testing. Empty testing with SeleniumRC

Mon Sep 28, 2009 5:35 pm
Hello,

thank you for this awesome functions.

I am doing an internship in Frankfurt am Main, Germany and I'm testing a webpage with SeleniumRC 1.01. I'm writing my tests in C#.

Your UserExtension works fine with SeleniumRC. To use your Extensions with SeleniumRC, you have to comment out the Selenium.prototype.reste -Function. With it, the server could not load the full page and hooks up.

When I use Firefox as browser, your getBrowserName-Function returns to me, Netscape is the actual browser... thats a little bit tricky. Could you change this in returning Firefox instead of Netscape? Thank you.


Greetings from Germany.

Thomas
Back to top
Permissions in this forum:
You cannot reply to topics in this forum