Skip to content
Advertisement

Tag: selenium

Is there any get body tag method for WebElement class in Selenium Java?

I’ve been trying to get body of pages within HTML source. I’ve been trying it with WebElement Class. I can’t access invisibilityOfAllElements method or let me say it throws error. I’ve written code like that: waitbody is object of WebDriverWait Class that I’ve defined. Eclipse highlights underline of invisibilityOfAllElements. Is there any idea to solve this? Thank you. Answer invisibilityOfAllElements()

Connecting to OUTLOOK365 from Selenium Java

I have an application that sends a verification code to my Email after entering credentials. I need to read the verification code from my inbox. I am using Outlook and my organization uses the MAPI protocol for OUTLOOK365. Can anyone help me with this? Answer Using the Graph API one can access the Outlook. you need to register in Azure

Appium – AUT is not installed

I am testing an iOS application (on a real device) and encountering the following error: It would be helpful if someone could point out why the Selenium is throwing this error. I am able to manually connect to the UFT Mobile device and it works fine. My code is: The partial stacktrace is attached here https://pastebin.com/npcDyz2a. Answer After so many

I am getting Null pointer Exception while fetching data from the excel sheet [duplicate]

This question already has answers here: What is a NullPointerException, and how do I fix it? (12 answers) Closed 2 years ago. Code: } I am fetching the data from the excel sheet while performing test I am getting below error. Error: [Utils] [ERROR] [Error] java.lang.NullPointerException at dataDrivenFramework.dataDrivenFramework.ExcelDataConfig.getData(ExcelDataConfig.java:31) at dataDrivenFramework.dataDrivenFramework.ContactUsFormTest.formData(ContactUsFormTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Here

How to close all child processes in C#

C# code: I am calling a java.exe from C# windows application. java.exe is used to test some websites. Java using Selenium to test the webpages by opening default web browser. It will open 3 to 10 times browsers and test the test cases. I want to add stop button in C# application and when we click it then it should

Selenium how to get all elements inside a WebElement

I’m trying to get all the elements inside a selenium WebElement, for example: I want to get a list of all the elements inside including child elements, like so… div element header paragraph element paragraph So I’ve tried this element.findElements(By.xpath(“*”)) but this would return only element element So then I tried a recursive method to get all of the childs

Advertisement