Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
5

Creating test data via GUI will have the following impact: test execution time will grow, test will become 'flaky', results will not be trusted, test will be prone to errors due to html changes, if you use CI you will become dependent on browser, or will have to write browser independent code, I suggest creating the data straight in the database (if ...


4

Yes, you can get values in form of String after that you can use them as you want. like this - String price = driver.findElement(By.xpath("your-xpth-of-selected-value")).getText(); Now this string value you can use as you need.


4

Comments explain the flow WebElement baseCard = driver.findElement(By.id("00automation")); // Finding the base of the DOM tree where the price tag will be List<WebElement> priceTags = baseCard.findElements(By.cssSelector(".card-price-tag")); // Find all price tags elements Integer sumOfPriceTags = Arrays.stream(priceTags) // For each price tag ...


3

Simply, the term "shift-left" means integrating QA early in the development cycle. Another way to think of it is: test early, test often. Shift-left ultimately advocates for Quality Assurance over Quality Control. With traditional waterfall development, QA and testing didn't start until after development was finished, often the bottom of the waterfall. If ...


3

You need to get the innerHTML via getAttribute("onmouseover") function and parse the String using a regular expression. There is no direct approach from Selenium.


3

Chrome provides an inbuilt function for this: Dev Console (F12) Switch to the Sources tab Do action in browser to get to the state you want to inspect Press F8 Chrome will pause the browser and the Elements tab will not update until you go back to Sources and Press F8 again. While it is paused you can switch back to the Elements tab and use the normal ...


2

From Automation point of view following things are important: Logic OOPs concept Any language hands-on From Manual testing point of view following things are important: Basic understanding of testing terminologies Development cycle & Testing cycle Bug Reporting Testing skills From Behavioral point of view following things are important: Attitude ...


2

This isn't actually related to SSL certificates , notifications is something else. If you don't intend to use them turn them off You can have the browser started with them disabled by adding --disable-notifications to the browser command line via chrome options. This can be done programmatically as follows ChromeOptions options = new ChromeOptions(...


2

You need to capture a List of elements. Then the first row will be the first element of the list and so on. Your html structure makes it quite simple, so for the field elements it would be: IList<IWebElement> fields = driver.FindElements(By.CssSelector("table[id='advFilter'] td[class='field'] div[class='apidrop apidicon']")); fields[0].Click(); The ...


2

There are a number of different click and record applications out there that will then convert the process into code (of varying levels). How good they are at this often depends on how large a premium you're willing to pay in price, or other limitations. Selenium IDE SmartBear's TestComplete Telerik's Test Studio etc They often sound like a saving of ...


1

SSO can be tested using API Testing via Postman or SOAP or what ever API tools you are using. Every page of the website will have some or the other endpoints. If SSO is implemented then all the endpoints will require a specific one time token. To generate the token first execute the Login API with username and password and generate the Auth Token. This ...


1

In your LoginTest.js , you have given incorrect reference of page object. change it to: var logins = require('../../pageObjects/login.po.js'); and then you do not need to create a page object, instead you should directly use the object that you have created earlier like below logins.typeUserName('test'); update your conf.js file, a sample is below: ...


1

Yes, as per the definition 'Regression' is all about making sure that new changes are not causing any side effects for existing functionality. Having said that, as part of regression this is what we follow: Manually: Test all the impacted areas as part of the task (feature/bug) itself. We talk to respective devs to find out all of the 'impacted areas' (...


1

To me the answers about an immediate technical solution to the problem are a simple fix to the symptoms and not for the source. You haven't mentioned testers having limited access to developers or managers so why don't you talk to them and solve also the next problem ? Get proper access to the sources, decide on proper processes and communication channels ...


1

A full stack QA engineer should be skilled in testing Web app, API, performance, Databases, and Mobile. The common skills that are in-demand are: Selenium(Java or C#): For web app API Testing: Postman Performance: Jmeter DBtesting : DBUnit , Databse Benchmark Mobile: Testcomplete, Appium These are not listed out from blue, but from the job ...


1

As suggested in above comment by Joao, you can get the text by String price = driver.findElement(By.xpath("your-xpth-of-selected-value")).getText(); If you expect only integers in price, then you can do: Integer.valueOf(price); If you expect floats too, you can do : Float.parseFloat(price); HTH!


1

I don't know your exact requirements in your software testing services but from question it seems you want to perform Enter key action through keyboard on a javascript popup. TO accomplish this use following code: Alert alert = new Alert(); alert.sendkeys(Keys.RETURN); or alert.sendkeys(Keys.ENTER); If that doesn't work you can use Enter key code and ...


1

I have found one more link having questions and answer pdfs https://astqb.org/resources/ Click on -> Sample Exams Scroll and look for -> test automation engineer


Only top voted, non community-wiki answers of a minimum length are eligible