Selenium IDE:
1. IDE stands for Integrated Development Environment
2. It is for record and run the scripts
3. It is an add on for Mozilla Firefox (We can download and install in Firefox only )
4. It is accountable for user actions
5. The recorded script can be against other browsers with the help of selenium RC
6. The recorded script can be viewed in other languages
Selenium RC:
1. RC stands for Remote Control
2. It is a server and it launches all the browsers ( one browser at a time )
3. It acts as a an API ( Application Programming Interface ) and Library
4. It is responsible for the entire automation
Selenium GRID:
We can launch multiple browsers with compatible operating system and we can run the scripts on all the browsers parallel at a time.
Step 1: Launch the fire fox browser and open the URL seleniumhq.org
Step 2: Click on the 'Download' tab
Step 3: Click on the download version 2.48.2 under Selenium IDE
Step 4: Click on 'Allow'
Step 5: Click on 'Install Now'
Step 6: Click on 'Restart Now'
Write down the steps to record the scenario like 'open google.com and enter some text in the text box and click on google search'
Step 1: Go to Tools
Step 2: Click on selenium IDE
Step 3: By default it will be in Recording mode
Step 4: Minimize the Selenium IDE and open the URL: www.google.com and enter some text in the text box
Step 5: Click on 'google search' button
Step 6: Maximise the Selenium IDE
Step 7: Click on the 'Red' button to stop the recording
IDE will give the recorded actions in 'two' formats
Table - Contains all the recorded action in tabular format
Source- Source contains the source code of recorded actions
To run the recorded scripts there are two options
1. Play current test case
2. Play entire test suite
To view the recorded script in other languages:
Step 1: Go to Options
Step 2: Click on format
Step 3: Select the desired language
Note: By default we will not get the above option. To get the list of language perform the below steps.
Step 1: Go to Options
Step 2: Click on Options
Step 3: Tick the check box 'Experimental Features'
Step 4: Click on Ok
To maintain the synchonisation in Selenium IDE slow down the execution speed by using the option 'Fast.....Slow'
Steps to save the Recorded Script:
Step 1: Go to File
Step 2: Click on 'Save Test Case As'
Step 3: Save in .html format
Steps to Open the saved scripts
Step 1: Go to File
Step 2: Click on Open
Step 3: Select the desired script
1. IDE stands for Integrated Development Environment
2. It is for record and run the scripts
3. It is an add on for Mozilla Firefox (We can download and install in Firefox only )
4. It is accountable for user actions
5. The recorded script can be against other browsers with the help of selenium RC
6. The recorded script can be viewed in other languages
Selenium RC:
1. RC stands for Remote Control
2. It is a server and it launches all the browsers ( one browser at a time )
3. It acts as a an API ( Application Programming Interface ) and Library
4. It is responsible for the entire automation
Selenium GRID:
We can launch multiple browsers with compatible operating system and we can run the scripts on all the browsers parallel at a time.
Step 1: Launch the fire fox browser and open the URL seleniumhq.org
Step 2: Click on the 'Download' tab
Step 3: Click on the download version 2.48.2 under Selenium IDE
Step 4: Click on 'Allow'
Step 5: Click on 'Install Now'
Step 6: Click on 'Restart Now'
Write down the steps to record the scenario like 'open google.com and enter some text in the text box and click on google search'
Step 1: Go to Tools
Step 2: Click on selenium IDE
Step 3: By default it will be in Recording mode
Step 4: Minimize the Selenium IDE and open the URL: www.google.com and enter some text in the text box
Step 5: Click on 'google search' button
Step 6: Maximise the Selenium IDE
Step 7: Click on the 'Red' button to stop the recording
IDE will give the recorded actions in 'two' formats
Table - Contains all the recorded action in tabular format
Source- Source contains the source code of recorded actions
To run the recorded scripts there are two options
1. Play current test case
2. Play entire test suite
To view the recorded script in other languages:
Step 1: Go to Options
Step 2: Click on format
Step 3: Select the desired language
Note: By default we will not get the above option. To get the list of language perform the below steps.
Step 1: Go to Options
Step 2: Click on Options
Step 3: Tick the check box 'Experimental Features'
Step 4: Click on Ok
To maintain the synchonisation in Selenium IDE slow down the execution speed by using the option 'Fast.....Slow'
Steps to save the Recorded Script:
Step 1: Go to File
Step 2: Click on 'Save Test Case As'
Step 3: Save in .html format
Steps to Open the saved scripts
Step 1: Go to File
Step 2: Click on Open
Step 3: Select the desired script
No comments:
Post a Comment