sallojusuresh

Results comments of sallojusuresh

Hi, If you would like to select 'Hybrid' value from a drop down, you need to arrange your code using call back sequence, as its a Asynchronous execution A. Selecting...

Hi Rajit, Use browser.wait() rather than using ptor.sleep(3000). I think you just need to make browser wait til element is present before going to click it. try this: browser.wait(function(){ return...

I don't think, you do require to put browser.wait() for finding every element, only few of them require browser wait before going to interact and most of them will be...

https://github.com/angular/protractor/blob/master/docs/browser-support.md (**) We recommend against using PhantomJS for tests with Protractor. There are many reported issues with PhantomJS crashing and behaving differently from real browsers.

Hi Kalyan, 1. create test data in json object format and save it as .json(example: testdata.json) in your project folder 2. include that test data file in your test scripts...

+1 Waiting for 1.4.0 support for PhantomJs

Hi Andrepm06, I've modified your code which taken from Stack Overflow. And hope it will help you /* *1. create a constructor function with browser as a parameter - and...

Use "browser.wait()" rather using "ptor.sleep" to make browser wait until a particular element is present on next page. brower.wait (function(){ browser.isElementPresent(by.binding('patchCount | number')).then(function(result){ if(result){ var AnswerCountElement = element(by.binding('patchCount | number')).getAttribute();...

Hi @philipbeadle Hope below code will help you: browser.actions().sendKeys(protractor.Key.TAB).perform().then(function(){ browser.actions().sendKeys(protractor.Key.ENTER).perform().then(function(){ browser.actions().mouseMove(element(by.xpath(".//*[normalize-space(text())='Monthly']"))).click().perform(); }); });

Hi, If you could go through the FAQ link: http://angular.github.io/protractor/#/faq, you can find that 'getText()' returns empty string. so use "element.getAttribute('value')"