Developing Test Automation Scripts with RubyMine

preview_player
Показать описание
Test Automation has been a very hot topic in the industry for the past few years. The need for rapid feedback on the quality of the application has driven a lot of innovation in this space with much of it taking place on the Ruby platform. This has positioned RubyMine as a preferred tool for the testing community.

Join Jeff "Cheezy" Morgan as he develops automation against a web application and demonstrates how the cucumber, refactoring, and git support from RubyMine streamline this development effort.
Рекомендации по теме
Комментарии
Автор

this guy should get a gold medal this video for that people who knows how to build page oject pattern with java and who knows what is it means when you want to get unvisible driver
you know what you do! respect... so clean code oh wow

flash
Автор

Very good end to end ruby with cucumber set up and explanation for everything!! Thanks for the code and gem information!

GaryFungAutomationTest
Автор

Can you share with us, where you put the URL? and also, what you have in your hooks.rb and env.rb?

kwabenau
Автор

Can we do API automation using rubymine/Ruby? If yes can you provide details how and what to do?

siva-reddy-us
Автор

Alt + Enter is used to create new step definitions in case anyone wanted to know. He does not explain what he is doing in the IDE always.

fladdermuz
Автор

He makes a comment about how a lot of things he was relying upon don't exist in C#. That should not prevent anyone who wants to use C# with selenium, but it means that you won't be using RubyMine or likely Ruby. C# has a BDD tool similar to cucumber called SpecFlow for those interested.

Veretax
Автор

But definitely if you want to write small, expressive, and quicker tests, Ruby, Cucumber, and RubyMine leveraged together can give you a lot of power at your fingertips up front, and I think that's the point that he was trying to emphasize most. (note just because your app is built in a language that isn't ruby, doesn't mean you can't test it with ruby, or any other language either.)

Veretax
Автор

thank you very much. This was great. you made my day. i am glad i found this. I would love to see a similar expert on hands view on mobile testing.

kainanu
Автор

It is great usage example of cucumber for automated tests of 3rd party web resource.
Got ideas also how to use it in cucumber-jvm for Java world ...

And JetBrains products (RubyMine & IntelliJ) are awesome :)

DenysSlipetskyy
Автор

Hi Cheezy,
When I am trying to debug too see the entire flow getting below error
Error running 'checkout_process.feature': Failed to Install Gems. Following gems were not installed: C:\Program Files\JetBrains\RubyMine Use --install-dir or --user-install but not both C:\Program Files\JetBrains\RubyMine Use --install-dir or --user-install but not both
Along with that when m trying to run feature file i am getting below error
* features/support/env.rb
cannot load such file -- rspec-expectations (LoadError)
`require'
`require'
`<top (required)>'
`require'
`require'
`load_code_file'
`load_file'
`block in load_files!'
`each'
`load_files!'
`load_step_definitions'
`run!'
`execute!'
`<top (required)>'
`load'
`<main>'

Process finished with exit code 2

one more thing i am not getting exactly which is the step which says start executing feature file when we will do CD into git action.

Thanks
Sapna

sapnasaha
welcome to shbcf.ru