Shobysukumaran

Results comments of Shobysukumaran

Yes , I have tried element(by.css('.ra-card-menu-button')). BUt no luck. I am able to work only through javascript

I tried like below: element.all(by.css('ra-card-menu-button')).then(function(ele){ var open=ele[0]; open.click(); }) But Getting the followng error " - Failed: Cannot read property 'click' of undefined "

@stemkar123 Try this method When('I write {val} inside {inputBoxName} input box', (val: string, inputBoxName: string, callback) => { let inputbox = element(by.css('#roomWidthInput')); console.log('inputBox promise set'); var scrpt = "return document.getElementById('roomWidthInput');";...

@stemkar123 In the success of execute script I have entered the code inputBox.isPresent().then(function(isElementVisible) { console.log('hello!'); console.log((isElementVisible) ); expect(isElementVisible).to.be.true; callback(); });