Selenium Webdriver with Java in Hindi #22- How To Use AutoIT - File Upload | With Practical Example

  Рет қаралды 10,887

CodeStudio

CodeStudio

Күн бұрын

Пікірлер
@SAKSHIKUMARIP
@SAKSHIKUMARIP Жыл бұрын
*Best explanation* ever for selenium... Keep uploading more such automation testing videos ❤❤❤❤❤ mam
@nirmalak3597
@nirmalak3597 8 ай бұрын
Superb
@akashwanere5956
@akashwanere5956 2 жыл бұрын
Good Job.. 👍🏻
@codestudioByPrachi
@codestudioByPrachi 2 жыл бұрын
Thank you!
@fahadkhan-islamicspiritual7872
@fahadkhan-islamicspiritual7872 8 ай бұрын
Madam Yiu told us that we can use sendkeys if type= file is given or robot class. Then why we need this ?
@knwrtv2544
@knwrtv2544 6 ай бұрын
Kahda spiritual yarrr tu 😂😂😂. Common sense 😜😜
@surajshelke3078
@surajshelke3078 Жыл бұрын
Can we use send method to and robot class here?
@tanmoypaul2513
@tanmoypaul2513 2 жыл бұрын
In the upload button if I inspect there is type='text' and value='photo' and I used this both attributes in xpath axes and it was focused to that button but when I used sendkeys method through the file path, it wasn't able to upload the file and no error is showing...why? Robotclass isn't also working
@nupurjain8660
@nupurjain8660 2 жыл бұрын
Thank you
@kshipra4504
@kshipra4504 2 жыл бұрын
When I run the program, auto it.exe disappears from the folder. Why is this happening?
@codestudioByPrachi
@codestudioByPrachi 2 жыл бұрын
re-installing may solve the problem. Please try it.
@11223a3b
@11223a3b 2 жыл бұрын
Super
@codestudioByPrachi
@codestudioByPrachi 2 жыл бұрын
Thank you!
@pankajkumar-zf2yg
@pankajkumar-zf2yg 4 ай бұрын
AutoIT is open source and need to purchase the license?
@codestudioByPrachi
@codestudioByPrachi 4 ай бұрын
It is free
@techgurusrk
@techgurusrk 2 жыл бұрын
not working with open button please help me out
@shty4891
@shty4891 Жыл бұрын
Mam please make appium tutorial
@ashwiniatakari
@ashwiniatakari 2 жыл бұрын
Not run.
@saurabh2033
@saurabh2033 Жыл бұрын
Hello, Mam Im Trying to run my code but I got a message as Runtime.getRuntime().exec is deprecated so can you help me with it. any alternative method. I'm stuck. package MavenProject.Test1; import org.openqa.selenium.chrome.*; import java.io.IOException; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; public class FileUploadAutoIT { @SuppressWarnings("deprecation") public static void main(String[] args) { //Launch Chrome browser System.setProperty("webdriver.chrome.driver", "D:\\AutomationPractice\\Drivers\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); //Maximize browser driver.manage().window().maximize(); //open URL driver.get("the-internet.herokuapp.com/upload"); //find webelement WebElement button = driver.findElement(By.id("file-upload")); Actions act = new Actions(driver); act.moveToElement(button).click().perform(); try { Runtime.getRuntime().exec("D://FileUpload.exe" +" "+"D://saurabh//ReverseString.txt"); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
@shantanulifestyle6667
@shantanulifestyle6667 Жыл бұрын
I have also dedicated this message
Desired Capabilities and Chrome Options in Selenium WebDriver
13:01
H Y R Tutorials
Рет қаралды 44 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
File Upload using Robot Class in Selenium
18:43
Krishna Sakinala (Automation Testing)
Рет қаралды 50 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН