My First Selenium IDE Script – Selenium Tutorial #3

This tutorial is by far one of the most important tutorials to get a hold on Selenium IDE.

This is the 3rd tutorial in our multi-part Selenium Tutorials series. We started this Selenium online Training series from this tutorial where you can find list of all tutorials covered.

In the introductory tutorials, we got a brief idea about Selenium IDE and its features.

Going ahead, we would be exercising and implementing these features in real time by creating our own very first Selenium IDE script. We would also peek into the details of recording fundamentals and available types of commands in Selenium IDE. Apart from that we would also have a glance at the modifications which can be incorporated into our Selenium scripts.

Selenium IDE script

Before jumping on to the creation of Selenium IDE script, let us take a moment to introduce elementary information about the application under test (AUT).

As a specimen, we would be using “Gmail” – an email service designed by Google. I believe because of its unbounded popularity, it needs no more introductions. The URL we would be using is “https://accounts.google.com”. I have also created dummy credentials to represent test data.

Creating First Selenium IDE Script

So let us now create our first script using Selenium IDE.

The entire script creation process can be classified into 3 chunks:

Process #1: Recording – Selenium IDE aids the user to record user interactions with the browser and thus the recorded actions as a whole are termed as Selenium IDE script.

Process #2: Playing back – In this section, we execute the recorded script so as to verify and monitor its stability and success rate.

Process #3: Saving – Once we have recorded a stable script, we may want to save it for future runs and regressions.

Let us now see their implementation.

Process #1: Recording a test script

Scenario

  • Open “https://accounts.google.com”.
  • Assert Title of the application
  • Enter a valid username and password and submit the details to login.
  • Verify that the user is re-directed to the Home page.

Step 1 – Launch the Firefox and open Selenium IDE from the menu bar.

Step 2 – Enter the address of application under test (“https://accounts.google.com”) inside the Base URL textbox.

Selenium IDE script 1

Step 3 – By default, the Record button is in ON state. Remember to tune it ON if it is in OFF state so as to enable the recording mode.

Selenium IDE script 2

Step 4 – Open the application under test (https://accounts.google.com) in the Firefox.

Selenium IDE script 3

Step 5 – Verify if the application title is correct. To do so, right click anywhere on the page except the hyperlinks or images. The right click opens the Selenium IDE context menu listing few of the commands. To get an entire list, select “Show Available Commands” option. This will open another menu containing rest of the available and applicable commands. Select “assertTitle Sign in – Google Accounts” option to verify the page title.

(Click to view enlarged image)

Selenium IDE script 4

As soon as we click on “assertTitle Sign in – Google Accounts” option, a test step would be included /appended in the Selenium IDE editor.

Selenium IDE script 5

Step 6 – Enter a valid username in the “Email” Textbox of Gmail.

Step 7 – Enter a valid password in the “Password” Textbox of Gmail.

The simulation of the same user actions can be seen in the Selenium IDE test editor.

Notice that for the ease of understanding, I have already created test credentials. I would strictly advise the readers to create their own credentials instead of using these.

Selenium IDE script 6

Step 8 – Click on the “Sign in” button to complete the login process.

User should be re-directed to the home page provided the credentials entered are correct.

Step 9 – At the end, we would end the recording session by tuning the record button into OFF state. Below is the recorded script.

Selenium IDE script 9

Process #2: Playing back / executing a test script

Now that we have created our first Selenium IDE script, we would want to execute it to see if the script is stable enough. Click on the playback button to execute the script.

Selenium IDE script 10

Post execution, all the test steps would be color coded in green for the successful run. The same would be evitable from the test case pane.

Selenium IDE script 11

For unsuccessful execution or test case failure, the failed test step would be highlighted in red. And the test case pane would mark the test case execution as failure.

Process #3: Saving a test script

Once, we have played back the script, now it’s time to save the created test script.

Step 1 – To save the test script, Click on the File menu and select “Save Test Case” option.

Step 2 – The system will prompt us to browse or enter the desired location to save our test case and to provide the test script name. Furnish the test name as “Gmail_Login” and click on the “Save” button.

The test script can be found at the location provided in the above step. Notice that the test script is saved in HTML format.

Selenium IDE script 12

Using Common features of Selenium IDE

Setting Execution speed

While testing web applications, we come across several scenarios where an action performed may trigger a page load. Thus we must be cognizant enough while dealing such scenarios.

So to avoid failures while playing back these test scenarios, we can set the execution speed to be minimal. Refer the following figure for the same.

Selenium IDE script 13

Using “Execute this command” option

Selenium IDE allows the user to execute a single test step within the entire test script without executing the entire test script. “Execute this command” is the option which makes this obtainable.

“Execute this command” option can be used at times when we want to debug/see the behavior of a particular test step.

“Execute this command” option can be used in the following four ways:

#1. Using Actions tab from the Menu bar

Selenium IDE script 14

#2. Using short cut key (“X”)

#3. Right click the test step and select “Execute this command”

Selenium IDE script 15

#4. Double click the test step

In all the above cases, user is expected to select the test step which he / she want to execute.

Steps to be followed:

Step 1 – Launch the web browser and open the target URL (“https://accounts.google.com”), Select the test step that we desire to execute. Remember to open correct web page to mitigate the chances of failure.

Step 2 – Press “X” to execute the selected test step. Alternatively, one can use other ways too.

Step 3 – Notice that the selected test step is executed. The test step would be color coded in green for success or red for failure. At the same time, the test step would be simulated into an action on the web browser.

Note that the user is responsible to bring the script before executing the test step and Firefox in context. There is a probability of failure if the user has not opened the legitimate web page.

Using Start point

Selenium IDE allows the user to specify a start point within a test script. The start point points to the test step from where we wish to start the test script execution.

Start point can be used at times when we do not desire to execute the entire test script starting from the beginning rather we customize the script to execute from a certain step.

Start point can be set and clear in the following three ways:

#1. Using Actions tab from the Menu bar

------------

Selenium IDE script 16

#2. Using short cut key (“S”)

#3. Right click the test step and select “Set/Clear Start Point”. Menu similar to above image will be displayed.

In all the above cases, user is expected to select the test step from where he wants to start the execution prior to setting start point.

As soon as the user has marked the test step to indicate the start point, an icon gets affixed to it.

Selenium IDE script 18

Now whenever we execute the test script, it execution would be started from the start point i.e. fourth line (type | id=Passwd | TestSelenium) of the test script.

Notes

  • There can be one and only one start point in a single script.
  • The start point can be cleared in the same way it was set.
  • User is responsible to bring the script after applying start point and Firefox in context. There is a probability of failure if the user has not opened the legitimate web page.

Using Break point

Selenium IDE allows the user to specify break points within a test script. The break points indicate Selenium IDE where to pause the test script.

Break points can be used at times when we desire to break the execution in smaller logical chunks to witness the execution trends.

Break point can be set and clear in the following three ways:

  • Using Actions tab from the Menu bar
  • Right click the test step and select “Toggle Breakpoint”.
  • Using short cut key (“B”)

As soon as the user has marked the test step to indicate the break point, an icon gets affixed to it.

Selenium IDE script 19

Now whenever we execute the test script, the execution pauses at the break point i.e. fourth line (type | id=Passwd | TestSelenium) of the test script.

Apply multiple breakpoints

Selenium IDE allows user to apply multiple breakpoints in a single test script. Once the first section of the test script is executed, the script pauses as and when the breakpoint is reached. To execute the subsequent test steps, user is required to execute each of the test steps explicitly.

Selenium IDE script 20

In the above test script, the execution pauses at the line “assertTitle | Sign in – Google Accounts”. After explicitly executing this test step, the control moves to the next test step in sequence “type | id=Email | TestSelenium1607@gmail.com”. Thus, user needs to explicitly execute this test step. The similar trend is followed for rest of the subsequent steps.

Thus, this feature lets the user to spend more time executing each step and reviewing the outcomes of the previously executed test step.

Notes

  • There can be as many break points as you wish in a single script.
  • The break point can be cleared in the same way it was set.

Using Find Button

One of the most crucial aspects of Selenium IDE test scripts is to find and locate web elements within a web page. At times, there are web elements which have analogous properties associated with them, thus making it challenging for a user to identify a particular web element uniquely.

To address this issue, Selenium IDE provides Find button. The Find Button is used to ascertain that locator value provided in the Target test box is indeed correct and identifies the designated web element on the GUI.

Let us consider the above created Selenium IDE test script. Select any command and notice the target text box. Click on the Find button present just beside the Target text box.

Notice that the corresponding web element would be highlighted in yellow with a fluorescent green border around it. If no or wrong web element is highlighted, then the user is required to rectify the issue and would need to impose some other locator value.

(Click to view enlarged image)

Selenium IDE script 21

Thus, this procedure makes the user assured about the target value being used and that it corresponds to the correct web element on the GUI.

Using Other Formats

Converting Selenium IDE test scripts to Other Programming Languages

Selenium IDE supports conversion test scripts into set of programming languages from a default type (HTML). The converted test scripts cannot be played back using Selenium IDE until and unless it is reverted back to HTML. Thus the conversion is beneficial and constructive only when we are executing it from other tools of Selenium Suite.

Step 1 – Click on the options tab under the menu bar and select the programming language format under format option in order to convert the test script into our desired format.

Selenium IDE script 22

Step 2 – As soon as we select our Desired Programming language format (“Java / JUnit4 / WebDriver” in our case), a prompt box appears which says “Changing format is now marked experimental! If you continue, recording and playback may not work, your changes may be lost and you may have to copy and paste the test in a text editor to save. It is better to make a copy of your test cases before you continue. Do you still want to proceed?” Click “OK” to continue.

Selenium IDE script 23

Thus, the above converted code can be executed by using WebDriver.

Mark that editing or modifying Selenium IDE test scripts from Source View is not advisable. If done so, the tool might introduce several repercussions. Several known bugs are already associated with it.

Selenium IDE Commands

Each Selenium IDE test step can chiefly be split into following three components:

  • Command
  • Target
  • Value

Selenium IDE script 24

Types of Selenium IDE commands

There are three flavors of Selenium IDE commands. Each of the test step in Selenium IDE falls under any of the following category.

  • Actions
  • Accessors
  • Assertions

Actions

Actions are those commands which interact directly with the application by either altering its state or by pouring some test data.

For Example, “type” command lets the user to interact directly with the web elements like text box. It allows them to enter a specific value in the text box and as when the value is entered; it is showed on the UI as well.

Another example is “click” command. “click” command lets the user to manipulate with the state of the application.

In case of failure of an action type command, the test script execution halts and rest of the test steps would not be executed.

Accessors

Accessors are those commands which allows user to store certain values to a user defined variable. These stored values can be later on used to create assertions and verifications.

For example, “storeAllLinks” reads and stores all the hyperlinks available within a web page into a user defined variable. Remember the variable is of array type if there are multiple values to store.

Assertions

Assertions are very similar to Accessors as they do not interact with the application directly. Assertions are used to verify the current state of the application with an expected state.

Forms of Assertions:

#1. assert – the “assert” command makes sure that the test execution is terminated in case of failure.

#2. verify – the “verify” command lets the Selenium IDE to carry on with the test script execution even if the verification is failed.

#3. waitFor – the “waitFor” command waits for a certain condition to be met before executing the next test step. The conditions are like page to be loaded, element to be present. It allows the test execution to proceed even if the condition is not met within the stipulated waiting period.

Commonly used Selenium IDE commands

Command Description#Argu
ments
openOpens a specified URL in the browser.1
assertTitle, VerifyTitleReturns the current page title and compares it with the specified title1
assertElementPresent, verifyElementPresentVerify / Asserts the presence of an element on a web page.1
assertTextPresent, verifyTextPresentVerify / Asserts the presence of a text within the web page.1
type, typeKeys,
sendKeys
Enters a value (String) in the specified web element.2
Click, clickAt,
clickAndWait
Clicks on a specified web element within a web page.1
waitForPageToLoadSleeps the execution and waits until the page is loaded completely.1
waitForElement
Present
Sleeps the execution and waits until the specified element is present 1
chooseOkOnNext
Confirmation,
chooseCancelOn
NextConfirmation
Click on ”OK” or “Cancel” button when next confirmation box appears.0

Conclusion

In this tutorial, we tried to make you acquainted with the creation of Selenium IDE scripts. We also briefed you about the usage of various Selenium features.

Here are the cruxes of this article.

  • Test script in Selenium IDE can be created using Record and Playback feature.
  • The script creation mechanism can be divided into 3 processes – Recording, Playing back and Saving the test script.
  • Selenium IDE allows the user to execute a single test step within the test script without executing the entire test script. “Execute this command” is the option which makes this obtainable.
  • User is leveraged to set the execution speed from the option within the toolbar.
  • User can define any test step as a Start point. Thus, the execution will always initiate from that particular test step only.
  • User can set multiple Break points to pause the execution at a certain test step.
  • User can find and verify if the provided target value corresponds to the correct web element within the web page using Find
  • Changing the source view to other formats is not recommended as there is a probability of loss of data.
  • Remember to keep a copy of HTML test script before converting the test script into other non HTML formats.
  • There are majorly three types of commands – Actions, Accessors and Assertions.
  • Actions directly interact with the application and alter its state.
  • Accessors are used to store an elements property in a user defined variable.
  • Assertions are used to check if a specified condition is met or not.
  • Assertions can further be categorized as verify, assert and waitFor commands.
  • Verify makes sure that the test script execution is never halted if even if the verification fails.
  • Assert lets no further execution of the test script in case of failure.
  • WaitFor waits for a stipulated period for a certain condition to meet.
  • Some of the Selenium IDE commands which are used commonly are:
    • open
    • assertTitle / VerifyTitle
    • AssertForElementPresent / VerifyForElementPresent
    • AssertForTextPresent / VerifyForTextPresent
    • type / typeAndWait / sendKeys
    • click /clickAt / clickAndWait
    • waitForPageToLoad
    • waitForElementPresent
    • chooseOkOnNextConfirmation / chooseCancelOnNextConfirmation

Next Tutorial #4: There is another tool which plays a very important role in assisting us to create effective test scripts known as “Firebug”. Firebug helps us in inspecting the properties of web elements and web pages. Thus the next tutorial is comprised of installation of Firebug and its usability. We would also create a test script manually using firebug and Selenium IDE.

Note: Do not miss the next tutorial because of its great importance with respect to our forthcoming tutorials on WebDriver.

As usual let us know your queries in comments below.

Recommended reading

91 comments ↓

#1 Malvika R Joshi

Superb article !! To the point and clear explanation with screenshots… Kudos to the “STH Team” and keep up the good work :)

#2 Nikolay

Nice and in depth tutorial! So many elements of the IDE are explained!

#3 Surbhi

very detailed. thanks for sharing.

#4 Anisha

Great!!! I am a beginner in Selenium and I would be interested to learn more from STH.com. Please keep updated more on this.

#5 Shruti Shrivastava

@Malvika, @Nikolay @Surbhi @Anisha

Thank you very much for the appreciation.

#6 Shraddha S

Thanks for sharing. This article is very helpful.

#7 Luke

What Can I say? Amazing Job Guys!! Looking fwd for the Next Tut.

Thanks,
Luke????

#8 Luke

Ooops! Apparently that little Web Element above (emoticon???) is not converted the right Way….

Sorry about that:-)

Luke

#9 Luke

@Shruti, I have a question for you tho, if converting an HTML test script to another Programming language is buggy and therefore not advisable, why have they kept that feature alive in the Selenium IDE tool? Any idea?

Thanks again,

Luke:)

#10 Lokesh Kumar

Great job done STH team….looking forward to next articles

#11 Shruti Shrivastava

@Luke,

Good Question.
The feature to convert the IDE scripts into another programming language is an experimental feature.

Go to Selenium IDE -> Options -> Enable Experimental Features.
If you disable this feature, all the format options would disappear. Thus, Selenium IDE itself says that this feature is just experimental. You can try it and play around with it but cannot be completely trusted for the results as they are just experimental.

Thus, it is advisable to work with WebDriver or Selenium RC if you really desire to create your own programming scripts.

#12 Luke

@Shruti

Thank you for your Input. Makes More Sense Now!

Luke:)

#13 Shruti Shrivastava

@Luke

Welcome…
Keep Learning…

#14 sowmya

Hello team ,

Good job guys !!
I tried to run a test script from selenium IDE . I have recorded the steps and I tried to play the script step by step but , I end up with an error that the selenium server is not started yet . Can u help me on this pls.

I used selenium IDE 2.8.0

Many Thanks!!

#15 sowmya

the error is ” [error] Could not connect to Selenium Server. Have you started the Selenium Server yet? “

#16 Thimani

I am newbie to Selenium. And this is very helpful. So excited to learn everything. Please keep updated more on this

#17 saiduzzaman

How to generate test report and send to devloper.please explaint its in details.

#18 Nitin

Hello Team

Great job guys,I am a beginner in Selenium and I would be interested to learn more from your site thanks a lot guys for wonderful job keep it up…….

#19 Hammed

Please change the “format option” as stated below to “Clipboard Format”
.

Selenium IDE script 22

#20 SAURABH DAS .

Thanks a lot to the the team. I am a beginner in Selenium and the way you had explained us is very nice. Looking forward with more articles. Also a small doubt the content whatever its put up here will it be sufficient to show an experience and search a new job? Provided if i practice a lot with all what you had taught!! Looking forward to hear. Thanks!!

#21 poorni

Thanks for the good tutorials… Really it is very useful… Keep going… All the best

#22 Ravi

Hi Shruthi,

Thanks for the good tutorials.

It is very helpful.

I have a question.

I have inserted Break point at 4th step i.e. password
But while playing it is executing up to 3rd step i.e. User name only.

Did I do any mistake?

Can you please clarify on this?

#23 Ravi

Hi Shruthi,

I have clicked find button for
3.type (Username)–It Highlighted the text box in Yellow color.
4.Type (Password)—It Highlighted the text box in Yellow color.
5.ClickandWait (sign In)–It Highlighted the sign in button.

But for 1.Open —It did not highlight anything.
2.Assert Title—It did not highlight anything.

Can you please comment on the above.

Thanks in advance!!!

#24 Arul

Is any “Clear “commands to delete the fields???

#25 Nitesh Srivastva

I have store a value in Ide and also create a loop with condition but it work as a infinite loop please help me.

#26 Sharmila

I have created the test scripts and i can run those. however, i just wanted to know if i can schedule all these scripts to run every 15 mins ? Can this be done? Please help.

#27 Jayanthi

Good One

#28 Geetha

I am feeling glad that I found this article….I am thinking of learning a selenium from long time…and this article giving me a good start off…Thanks again for your great job!!

#29 Aparna

Superbb Tutorial….Its a smooth learning with no confusion. Thanks to STH Team.

#30 Avinash

Hi, please help me out for below problem:
Screen is partitioned into two panes: left and right
if i am editing any text/type field of right pane then it enables Save and Cancel button at top corners of right pane and left pane get fade out….but when I’m playing the recorded test case back, it gets passed but left pane does not get faded and Save and Cancel button doesn’t appear…only values of text filed gets changed.

#31 Pramod

Very nice tutorial with snapshots….kudos to the team

#32 Paolo

Very nice tutorial
but with two pages login how works

#33 Praveen

I just started learning selenium automation, searched Google to find out the best website. At last I found it, thank u so much!! ????????

#34 Hemant

Hello Shruti,

I have a question about converting selenium IDE scripts to other format.

As you mentioned test cases may fail if you change the format of the test case .Is it not possible to change the format back to HTML again reuse the same test case ?

Thanks,
Hemant

#35 giri

very nice tutorial, thanks a lot of your efforts for explaining in detailed.

#36 Sridhar

Does Selenium IDE supports to automate Flex application?

#37 Gaurav Khurana

luke and shruthi discussion solved one of my problem.. once i selected ‘java/webdriver’ things were getting freezed, so removed the experimental version back to html

@ravi :– Assertions cannot be highlighted nor actions(open) .,, You should be able to highlight elements (like textbox,button) Assertion is a verification statement and not an element on the page

Also Break point means it will stop one step before that means if you put at 4th, 4th step will not get executed

@sharmila :- you can experiment with “options –>schedule test to run periodically”

#38 Gaurav Khurana

also my suggestion would be to use yahoomail since… Google has some new url everytime… accounts.google.com does not work properly..

also i believe there should be a way to hide password …
Also it would be good if you can add … how to open the saved HTML(is it file–>open–run)

#39 sonam

hey guys,

I experimented the same script provided in the tutorial.
When i run the entire test suite, my script step gets failed at “PASSWORD” field, may i know the reason behind this??
If i just execute the step to validate the password, steps run successfully.

#40 WTAO

Insert following command in source tab

waitForElementPresent
id=Passwd

before

type
id=Passwd
twf920301

It would resolve the problem.

#41 Vivek

Dear Team,

Thank you for putting up the tutorial series. I am a beginner in Selenium and I am finding these tutorials really useful. Kudos to the team.

Thanks
Vivek

#42 Indrajeet

Hi

This is just test

#43 Shraddha Shakya

Hi, nice tutorial with screenshots but it would be easier if videos were included as well.
->In the above example, the text execution fails at Password. The record is slight different. i.e. Enter Email -> Click Next -> Enter Password -> Click Sign In
For this, recording is fine but when played the same, it fails and says “[error] Element id=next not found”
Please help. I could not move further due to this error.

#44 surya

superb, clear information how to use selenium along with screenshot..thanks for this post,it really helped me lot

#45 Vijayakumar.M

i don’t know how to use selenium. pls help

#46 Arun

Excellent!!!! Great work by STH team

#47 ahsan khokhar

any buddy can give me training in software testing???

#48 rinny

good explanation..!!

#49 Anand

very helpfull article for us.

#50 Amit Chaudhary

Thanks for sharing.To the point and clear explanation with screenshots. Very nice.

But i want to ask you Record and Play Back are out dated from market. No company is using these functions.

So i want to learn descriptive programming in selenium.

Thanks,
Amit

#51 vaibhav

#Amit
i know that record and play are out dated.
but for regression testing also you can use the ide script.
that will make a major role in testing a testing large no of test cases.

#52 vaibhav

# Vijayakumar.M
Can you please tell us exactly what the problem you are facing while installing /using selenium?

#53 vaibhav

#Shraddha Shakya
i think your browser taking more time to load the page .
That’s why the error is occurring . please use fast internet connection other wise use the command “waitForTitle” (available in all commands)
Hope this will work fine.!

#54 Bhabesh Kar

Can anyone help me Selenium IDE Command for Sorting and Paging Functionality in a GenView.aspx grid

#55 trupti

design a web pages with a two text boxes and two buttons.write selenium script using IDE to enter Username and password and click the submit button after submit button is clicked redirect it to the new page and compare its title .if the title matches display the message “title matched” in the output window
can anyone give the answer of this question

#56 Amol B

Superb article, thanks for Shairing…

#57 sasikumar

Very nice

#58 Ronak

Hello, Ronak here can i test the validations with the Selenium IDE?

Give me answer ASAP.

Thanks & Regards

#59 ram jadhav

which command i use for the one time password functionality so that the system remain sleep mode for some time?

#60 Adam Wheeler

This tutorial is excellent! Its really helped me with my coursework. One rather stupid question, I need to make a manual test script to which I can then turn into an automated one via Selenium. Is process 1 a manual test script, whilst also showing you how it would look via Selenium?

#61 jean sie

this tutorial is very helpful .thanks so much for your great job.

#62 Death moroz

asdfasdf sdaf asdf asdf

#63 Kazi Rashedul Haque

Thanks for all your effort. Keep up the good work.God bless.

#64 Hi thats reaaly gud for me

hi, i am beginner in automation and i face a lots of problem. when i run a test case of login page the test is not excecuted and the open test is in red so its creates more difficulty to me.

#65 anjali

hello
i have a problem in execution
when i entered the credentials
its not redirecting to the home page
and showing error when executing
please help me

#66 anjali

[info] Executing: |clickAndWait | id=yui_3_10_0_1_1455143499620_287 | |
[error] Element id=yui_3_10_0_1_1455143499620_287 not found
[info] Test case failed
this is the error im getting

#67 Pooja

Very Helpful!! Thanks

#68 anjali

please help me
i have problrm in execution
recording is fine but when i tried to play getting an error

#69 Abhiruchi

Hi,

I am beginner in Selenium.It is very understandable to me.Thanks for giving such nice explaination.

#70 shital badgujar

Nice tutorial..I want to read for tutorial 2 but facing database error issue..could you please fix that problem??

Thanks,
Shital B.

#71 Kumar

Hi,
After clicking //assert title gmail// in my editor window Table tab gmail page is not simulated but the source widow has got all the details . Where it would have went wrong.Table tab remains the same as before.Thanks

#72 Kumar

Moreover in the test case pane one thing
Test case
Untitled 2 * is there how to delete that

#73 uma

How can i give link in selenium ide?
Ex:create new account

#74 Meenal

I have been trying to use ‘FIND’ feature on the login page on my gmail, but it doesnt find any object. 2nd problem is when I record script to check on the checkbox while replaying it fails at that point. Can check boxes click event be recorded and played back using IDE.?

#75 Abdulqadir Taiyeb

Hello, Nice Article. Do you have any idea regarding Selenium C# Web Driver? Please anyone have knowledge about that contact me.

#76 Paco

USEFUL!

#77 Sarfaraz

Hi,

I am getting problem, whi;e following the tutoial i am tyring to play the test script but the play test case button is disabled… will anyone help!

#78 Chinmay

I would like to see an example with a failed test case. Can someone please upload the same?

#79 Atul

hello Team,

I have a question..How to handle Mouse hover elements in selenium IDE only without help of webdriver???

#80 jraju

Hi, excellent tutorial even for non programmers to do a kind of automation needed.
But , i do not get the google mail, password box, on clicking, instead, it is next. First you have to supply the mail id and then click next and then supply the password and then click sign in. Will it work correctly.

#81 jraju

Hi, I have saved the script as html. But when i click, it opens the html document instead of the action. Where i am erring. Please. i do not get replies to the queries raised thro your comment box. please.

#82 This tutorial is really helpful!

to the point tutorial

#83 Frank

Very helpful! but I can’t seems to open https://accounts.google.com on my firefox. Everytime I try it says “Server not found” Please help!

#84 SHRUTI SAVADI

Is FIND used only for “text” types?
I tried it for the sign in button. I did not notice the yellow colored change.

#85 Beginner

Hi, When I am trying to run the scripts, im getting below error.
There was an unexpected error. Msg: NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]
Can you please explain how to overcome this?

#86 roush

hi,
amazin clarity and patient explanation . super awesome work.
thank u, u saved my day thank u soo much
and please do more of these tutorials
thank u once again

#87 dhaval

i get failure message when run script. i enter correct username and password. it is redirect to main screen of mail.

#88 justin antony s

hi,

i got this under stand the full toturial but stil not get any script like this recording of web pages,

so please share every one person like this type of script.

personal email id:justinantony.jk@gmail.com

#89 RajaSekhar

Can someone suggest how can find a element using IDE if there are no id and name options?

#90 Rohith

can someone say what is this error about?
[error] Element //div[@id=’view_container’]/form/div[2]/div/div/div/ul/li[2]/div/div[2]/p[2] not found

#91 Meghna

Hi folks!
Thanks for the tutorial, like many here , even i am getting an error while playing back the test case. Please help. Below are the error logs :

2017-06-21 16:52:46 [info] Playing test case Untitled
2017-06-21 16:52:46 [info] Executing: |open | /signin/v2/identifier?passive=1209600&continue=https%3A%2F%2Faccounts.google.com%2FManageAccount&followup=https%3A%2F%2Faccounts.google.com%2FManageAccount&flowName=GlifWebSignIn&flowEntry=ServiceLogin | |
2017-06-21 16:52:47 [info] Executing: |assertTitle | Sign in – Google Accounts | |
2017-06-21 16:52:47 [info] Executing: |click | id=identifierId | |
2017-06-21 16:52:47 [error] Element id=identifierId not found
2017-06-21 16:52:47 [info] Test case failed

Leave a Comment