Debomita Bhattacharjee has Published 867 Articles

How to create record and playback scripts in JMeter using the Chrome browser?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 08-Feb-2022 10:04:29

3K+ Views

We can create record and playback scripts in JMeter using the Chrome browser with the help of the BlazeMeter extension. To get the extension, navigate to the below link −https://chrome.google.com/webstore/detail/blazemeter-thecontinuous/ mbopgmdnpcbohhpnfglgohlbhfongabi?hl=enThen click on Add to Chrome.After BlazeMeter has been added to our Chrome browser, it should appear on the menu ... Read More

How to obtain the tagname of the parent element in Selenium webdriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 11:38:56

2K+ Views

We can obtain the tagname of the parent element in Selenium webdriver. First of all, we need to identify the child element with help of any of the locators like id, class, name, xpath, or CSS. Then we have to identify the parent with the findElement(By.xpath()) method.We can identify the ... Read More

How to obtain the page title using Selenium webdriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 11:34:51

9K+ Views

We can obtain the page title using Selenium webdriver. The method getTitle() is used to obtain the present page title and then we can get the result in the console.Syntaxt = driver.getTitle();Let us find the title of the current page. We shall get About Careers at Tutorials Point – Tutorialspoint ... Read More

How to handle frames in Selenium Webdriver in Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 11:21:12

605 Views

We can handle frames in Selenium webdriver in Python. An iframe is identified with a tag in an html document. An iframe is an html document containing elements that reside inside another html document. Let us see an html document of a frame.The following methods help to switch between ... Read More

How to interact with hidden elements in Selenium Webdriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 11:19:22

12K+ Views

We can interact with hidden elements in Selenium Webdriver. The hidden elements are the ones that are present in the DOM but not visible on the page. Mostly the hidden elements are defined by the CSS property style="display:none;". In case an element is a part of the form tag, it ... Read More

How to get an attribute value of an element in Selenium Webdriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 11:15:19

6K+ Views

We can get an attribute value of an element in the Selenium Webdriver. This is achieved with the help of the getAttribute method. In an html document, each element is identified with its tagname along with the element attributes with their values. To get an attribute value, we have to ... Read More

How to upload files using Selenium Webdriver?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 11:00:22

4K+ Views

We can upload files using Selenium Webdriver. This is achieved by the sendKeys method. We have to first identify the element which performs the file selection by mentioning the file path [to be uploaded].This is only applied to an element having a type attribute set to file as a value ... Read More

Selenium WebDriver With Java Quickstart.

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 10:56:04

379 Views

We can work with Selenium webdriver with Java Quickstart template. This can be done by following the below steps −Step1− Click on the File menu in Eclipse. Then select the option New. Next click on Other.Step2− Click on Maven Project from the Maven folder. Then click on Next.Step3− Proceed with ... Read More

How to execute a Javascript using Selenium in Python?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 10:48:51

20K+ Views

We can run Javascript in Selenium webdriver with Python. The Document Object Model communicates with the elements on the page with the help of Javascript. Selenium executes the Javascript commands by taking the help of the execute_script method. The commands to be executed are passed as arguments to the method.Some ... Read More

Selenium RC vs Selenium webdriver.

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 22-Nov-2021 10:46:47

551 Views

The differences between Selenium RC and Webdriver are listed below −FeaturesSelenium WebdriverSelenium RCArchitectureNot acquired from Javascript.Acquired from Javascript.ServerNo server is needed to begin test case execution.The server is needed to begin test case execution.Object- OrientedIt is used widely for object-oriented programming.It is moderately used for object-oriented programming.BrowserIt can test all ... Read More

Advertisements