if (rerunAttempt == 3){
// do something here
}
Hi All, I am new to protractor - automation testing. I am following protractor website to do create few dummy tests.
Problem statement: i don't see line number when any test case fails
for eg:
D:\ProtractorDeltaPOC>protractor conf.js
[07:53:44] I/launcher - Running 1 instances of WebDriver
[07:53:44] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[07:53:51] I/launcher - 0 instance(s) of WebDriver still running
[07:53:51] I/launcher - chrome #01 failed 1 test(s)
[07:53:51] I/launcher - overall: 1 failed spec(s)
[07:53:51] E/launcher - Process exited with error code 1
in the above code, it says test is failed but there are no reference. Can someone help me.
Hi,
I am in a decision-making situation to either use Protractor or Selenium to create test automation framework for two apps, one is Angular-based, another is Vue JS based.
Advantages of using Protractor:
Comes bundles with Aungular app, no need to add exrta dependency
Supports more element locating mechanisms by providing methods like filter() and cssContainingText()
Supports scripting languages like Typescript and JavaScript
Main reason for using Protractor was because prtractor had its own locator types (like ng-model, etc) in order to handle elements in ealier version of Angular apps. However after Angular 2, those locators types have become irrelevant and now protractor uses locators just like in Selenium
I also have expert level knowledge in Selenium and Java
What should be my parameters to select either Protractor or Selenium to create a test automation framework and automate integration test cases? Is execution faster in Protractor because it uses scripting language?