Tag Info

New answers tagged

2

My experience with automation is that it's invaluable for regression, particularly the kinds of regression that are tedious and painstaking to perform. A login script is usually a utility that happens as part of a larger script suite - which must, as Siva said, be object-oriented and data-driven if you don't want to create yourself a maintenance nightmare. ...


4

All the learning starts from step1. You have learned based on your own interest. I had a lot of support from this community and stackoverflow when i started writing automated tools. I can share my experience. 5 Rules for beginners getting into test automation Rule#1 - Do not worry about design, error handling when you start writing your automation suite. ...


1

Hopefully someone will come along with their experience but you might like to be aware that automation is not just a case of coding up your manual tests, the full benefit of automation is when it does more than that...


0

Solved now. The PSEDITBOX is contained in another iframe which I missed. So I have just added one line now and it solved the issue - wd1.switchTo().frame("popupFrame"); wd1.findElement(By.className("PSEDITBOX")).sendKeys("Design");


4

In your comment you mentioned that the element is within a <frameset> \ <frame>. To work with any element within a frame, you need to first switch the context of the driver from the main page to that frame: driver.switchTo().frame("foo"); In this example "foo" would be the name of the iframe. You can also do it by index if the frame has no name ...


-2

It is very Simple in C# Example : IWebElement chkBox = driver.FindElement(By.Id("some id ")); if (chkBox.Selected) { //perform actions } else { //perform actions }


2

I've found that the deleteAllCookies function works differently in different browsers. DeleteAllCookies will delete all session data in Chrome, but only cookies in firefox. I'm still looking for a good way to delete session data in FF



Top 50 recent answers are included