Create Dynamic XPath through Coding || RunTime XPath Creation

  Рет қаралды 22,812

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 22
@sivakys
@sivakys 5 жыл бұрын
Thanks for helping us to understand the concepts in simple manner Awasome Naveen 😀 🙌
@yadojuvennela317
@yadojuvennela317 2 жыл бұрын
Do we have Real Time Project on selenium in this channel ? Please reply I'm new to this channel so asking
@shanthkumar4709
@shanthkumar4709 Жыл бұрын
This guy is amazing 🤩
@jdhung
@jdhung 4 жыл бұрын
excellent video. thank you so much
@lutony4548
@lutony4548 5 жыл бұрын
Hi Naveen, very impressive and handy, appreciate!
@rajesho9772
@rajesho9772 4 жыл бұрын
Hey thsts really awesome.... I have a query where no where I found a soln.... Please tell me how to write xpath to find an element based on text if text has both double and single quotation. For example my mother's name is "Asha"
@rajiramesh5442
@rajiramesh5442 3 жыл бұрын
Thanks Naveen!
@amiyaranjan883
@amiyaranjan883 5 жыл бұрын
Hi naveen ,do we have any videos on css selector since it is faster than xpath while execution.in my company css are used.Thanks
@andresorbegoso7870
@andresorbegoso7870 5 жыл бұрын
amiya ranjan it would be helpful, I am having the same issue, I’m learning locators but CSS is missing 😭
@swapnilkhute
@swapnilkhute 5 жыл бұрын
Hi Naveen, Can we store Webelements in ENUM? I have came across this question in one of the interview and would be glad to know the answer
@GettingByWithAman
@GettingByWithAman 5 жыл бұрын
can you do an example of this with a real time test case?
@indranilchakraborty3037
@indranilchakraborty3037 5 жыл бұрын
I support Amandeep...please provide a selenium example..
@murtazamansoor6440
@murtazamansoor6440 5 жыл бұрын
Hey Naveen, do you have plans for making serenity bdd tutorials somewhere down the road ?
@ravinaidu4035
@ravinaidu4035 5 жыл бұрын
Hii naveen Can you tell me difference between java and javascript in selenium which is used
@nareshchinnam8349
@nareshchinnam8349 4 жыл бұрын
It would have been good if you could have explained with a real time scenario on exactly where we use this utility. Now i understand the concept but didn't understand where to apply this
@vaibhavbajpai576
@vaibhavbajpai576 2 жыл бұрын
Thanq
@mudaseer21
@mudaseer21 4 жыл бұрын
Best of India
@AkilaHemal
@AkilaHemal 3 жыл бұрын
This is really good. Can you share with me relevant python code if you able
@Czarkazmx
@Czarkazmx 3 жыл бұрын
How do you implement this on POM
@murtyperi8130
@murtyperi8130 3 жыл бұрын
Naveen Garu - I am searching for very similar issue. What I tried may not be needed but i am curious. There are state names with x-path //body/div[@id='menu-state']/div[3]/ul[1]/li[6] where it only varies at li[6]. You explained excellent. MY REQUEST EXTEND JUST FOR 5 MIN HOW USE IN driver.findElementby.xpath? I tried - in console I got exact x-path as per inspect element but when added as This is X_path from String "//*[@id=\"menu-state\"]/div[3]/ul/li[4]" This is X_path from Locator //*[@id=\"menu-state\"]/div[3]/ul/li[4] driver.findElementby.xpath(string) - WebElement stateLoop = driver.findElement(By.xpath(H)); stateLoop.click(); Error:Exception in thread "main" org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath expression "//*[@id=\"menu-state\"]/div[3]/ul/li[4]" because of the following error: SyntaxError: Failed to execute 'evaluate' on 'Document': The string '"//*[@id=\"menu-state\"]/div[3]/ul/li[4]"' is not a valid XPath expression. Will you please help? Thank you mdmperi@gmail.com
@kaushikc6064
@kaushikc6064 5 жыл бұрын
Hi Naveen, firstly thanks for all of your videos. I am kinda new to automation and your videos have helped me understand things simply. I saw your log4j video link-kzbin.info/www/bejne/eWi3dqienLt3j9E. I am unable to do the way you are generating the default logs while execution of the code. I saw in the comments too many people have asked the same. The video is kinda old, but can you please answer it.
@atulsingh-pv4tu
@atulsingh-pv4tu 2 жыл бұрын
double slash, not double quote :)
How to Become Genius in XPath in Selenium  - Session -18
39:48
Naveen AutomationLabs
Рет қаралды 723 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 68 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 22 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 119 МЛН
How to debug Selenium Framework Code using Eclipse Debugger
45:51
Naveen AutomationLabs
Рет қаралды 68 М.
Selenium How to create xpaths
18:21
Automation Step by Step
Рет қаралды 97 М.
How to find broken links & Images using Selenium Webdriver
45:35
Naveen AutomationLabs
Рет қаралды 98 М.
How to write xpath in Selenium when properties has no unique values?
15:57
Different Locators In Selenium WebDriver || Best locator to use
44:28
Naveen AutomationLabs
Рет қаралды 129 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН