Thanks Ekta and Mukesh, much needed this type of videos. I am unable to generate test reports by using jenkins as I am working on Selenium Python automation, but your video help me to get out of this issue.
Thanks, after playing with different solutions for 6hrs I was able to find this video and found new step to call activate .bat which is something new that helped me to run the script.
@@Mukeshotwani Mukesh getting error while getting file from Git hub... request you to upload the vedio to get the file from github... Thanks in Advance
Hu Mukesh ji, Please upload python programming and more videos on how to use Maven, Testng etc.. Expecting more technical videos in selenium/python. What your doing is great service for QA'S. I salute your teachings & I'm your great fan as well :-)
Hi Ekta and Mukesh, this is one good excellent start up for python selenium automation. Would please advise how to implement Page Object Model as well in Python.
Hi Ekta/Mukesh, Thanks for this video. Here Jenkins is in local machine. How to configure if jenkins is in remote machine? Do we need to install all python packages in the jenkin server? how do we know whatt workspace path we should add while creating a job in remote jenkins.. Please make a video on this..
Hi Anil, You can create Jenkins Node (it could be EC2 instance, VM or any cloud instance) and this node you can configure as per your need. You can configure your jenkins job to run on specific node.
Hey Himanshu, Once you have your instance ready you can setup Selenium grid and then then you can run your automated test here is the video ruclips.net/video/6nq1dOiTdC8/видео.html
Hi Mukesh, How do you execute PyTest in Jenkins via Git Repo, can you help to guide me. I'm unable to find the solution to execute pyTest with Selenium in Jenkins via Git Repo. Much appreciated for your response.
Thanks a lot for this video. Recently I was trying to replicate the same in private network,once test cases gets executed successful while generating report allure report throws null pointer exception.Could you please help me to find out the root cause of the problem? Thanks in advance
Hi Ekta/Mukesh, Thanks for this video. When i am trying this, getting the error as "selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary" in Jenkins. But it is working fine through CMD line. Could you please help me on this issue.
Thanks for adding the Jenkins flavor in it. That's more complex part. A quick question in a part where I am struggling, when I am trying to create a BaseTest class and defining my fixture over there and trying to call parent BaseTest class in all other testcases, it's not working. If there any sample example, can you please share?
@@EktasSeleniumSolutions thanks Ekta. I have figured it out. I was doing something wrong initially in declaring the fixture scope. Sorry for bothering you on that. But still struggling to run the script from Git+Jenkins. And not able to find plugin for Pytest in Jenkins. Please help if you can share something where script is coming from SVN and then running/building scripts.
@@Mukeshotwani Hey, thank you for the quick reply. I could find pytest-listeners package but not much information available on using it over the internet. Would you mind pointing me to some resource you are aware of to help me understand pytest-listeners ?
Thanks Mukesh, I’d really appreciate👍🏼 In our framework we have implemented POM, and the module structure is as follows: test script has 4 layers > driver script ( where we write the test ) > business rules ( function library, methods have assertions which will require allure reporting for log and screenshot ) > page object > base class for page object ( this contains all ui interation methods, set text, select etc. these wrapper methds automatically logs steps to report. Attach screenshot on exception) I’d greatly appreciate if you could use above structure and implement allure. Regards, Rahul Rana
'.venv' is not recognized as an internal or external command, operable program or batch file. Can any one help me with this? I get this in Jenkis slave machine
Thanks for the video.. I am facing an issue working with pytest and markers. When I run same commands from command prompt it works fine but error's out in Jenkins. cmd tried: .\venv\Scripts\activate && pytest -m test Error : Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE
@@Mukeshotwani your doing a great job I have started learning python selenium myself and your videos are of great help, Thanks also Thanks for your reply
You probably have to do a couple of checks: - did you install pytest? Globally or within your virtual environment? - if you run 'pytest --version' does it show an error or something like 'pytest 6.something something' - if you cannot run 'pytest' alone, can you try running 'python -m pytest' instead and see if that works
Thanks Ekta and Mukesh, much needed this type of videos.
I am unable to generate test reports by using jenkins as I am working on Selenium Python automation, but your video help me to get out of this issue.
You are most welcome Thanks Satish
Thanks, after playing with different solutions for 6hrs I was able to find this video and found new step to call activate .bat which is something new that helped me to run the script.
Awesome Bhumil.
Much awaited video.. thanks Mukesh
thanks Satya,ekta presented well
Mukesh otwani yes 100 %
Thanks Ekta.... Its very usefull vedio about integration python allure reports with jenkins.
Glad you liked it
@@Mukeshotwani Mukesh getting error while getting file from Git hub... request you to upload the vedio to get the file from github... Thanks in Advance
Hu Mukesh ji, Please upload python programming and more videos on how to use Maven, Testng etc.. Expecting more technical videos in selenium/python. What your doing is great service for QA'S. I salute your teachings & I'm your great fan as well :-)
Thanks Ekta and Mukesh! Curious to know this allure report data to show on grafana dashboard.
Amazing implement for this topic!
Hi Ekta and Mukesh, this is one good excellent start up for python selenium automation. Would please advise how to implement Page Object Model as well in Python.
Hi Ekta/Mukesh, Thanks for this video. Here Jenkins is in local machine. How to configure if jenkins is in remote machine? Do we need to install all python packages in the jenkin server? how do we know whatt workspace path we should add while creating a job in remote jenkins.. Please make a video on this..
Hi Anil, You can create Jenkins Node (it could be EC2 instance, VM or any cloud instance) and this node you can configure as per your need. You can configure your jenkins job to run on specific node.
Thanks Ekta, great video. One Help:Any guide to host this reports on server and store in DB to maintain execution records.
Hi, how can I run the selenium python code from Github with the Jenkins on AWS EC2?
Hey Himanshu, Once you have your instance ready you can setup Selenium grid and then then you can run your automated test here is the video
ruclips.net/video/6nq1dOiTdC8/видео.html
Hi Ekta....I want to join your live sessions training of selenium python..So how can I join please let me know
Hi Mukesh,
How do you execute PyTest in Jenkins via Git Repo, can you help to guide me. I'm unable to find the solution to execute pyTest with Selenium in Jenkins via Git Repo.
Much appreciated for your response.
Thanks a lot for this video.
Recently I was trying to replicate the same in private network,once test cases gets executed successful while generating report allure report throws null pointer exception.Could you please help me to find out the root cause of the problem? Thanks in advance
Hi Ekta/Mukesh, Thanks for this video. When i am trying this, getting the error as "selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary" in Jenkins. But it is working fine through CMD line. Could you please help me on this issue.
Thanks for adding the Jenkins flavor in it. That's more complex part.
A quick question in a part where I am struggling, when I am trying to create a BaseTest class and defining my fixture over there and trying to call parent BaseTest class in all other testcases, it's not working.
If there any sample example, can you please share?
Sure Nag. Will come up with video on this
@@EktasSeleniumSolutions thanks Ekta. I have figured it out. I was doing something wrong initially in declaring the fixture scope. Sorry for bothering you on that.
But still struggling to run the script from Git+Jenkins. And not able to find plugin for Pytest in Jenkins. Please help if you can share something where script is coming from SVN and then running/building scripts.
what are the command to put in execute shell if your using macbook? also there so 'call' command for the mac terminal. Please help
Hello Ekta/Mukesh, at 32:45 to 32:55, does Pytest supports listeners just as TestNg ?
yes just search for pytest listeners 😇 you will get module for this too.
@@Mukeshotwani Hey, thank you for the quick reply. I could find pytest-listeners package but not much information available on using it over the internet. Would you mind pointing me to some resource you are aware of to help me understand pytest-listeners ?
Hi Mukesh is there a way to automate chrome Authenticator extension
Hi, can we implement POM with allure? how to pass allure node from one module to another?
Yes we can Rahul, will try to cover this scenario soon.
Thanks Mukesh, I’d really appreciate👍🏼
In our framework we have implemented POM, and the module structure is as follows: test script has 4 layers > driver script ( where we write the test )
> business rules ( function library, methods have assertions which will require allure reporting for log and screenshot )
> page object
> base class for page object ( this contains all ui interation methods, set text, select etc. these wrapper methds automatically logs steps to report. Attach screenshot on exception)
I’d greatly appreciate if you could use above structure and implement allure.
Regards,
Rahul Rana
'.venv' is not recognized as an internal or external command,
operable program or batch file. Can any one help me with this? I get this in Jenkis slave machine
Thanks for the video.. I am facing an issue working with pytest and markers.
When I run same commands from command prompt it works fine but error's out in Jenkins.
cmd tried: .\venv\Scripts\activate && pytest -m test
Error :
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
Hi Ma'am, Were you able to fix this issue ?? I am getting the same
Hi Can you please upload a video to integrate Selenium python scripts with Testcases in Azure DevOps
Sure Saba I will do that soon.
@@Mukeshotwani your doing a great job I have started learning python selenium myself and your videos are of great help, Thanks also Thanks for your reply
Not very good in java , still can I see this video and learn python testing ?
Yes Ram. You can. You can take either of Python or Java as beginner
13:25 cant find pytest somehow on cmd...
Hi , you can follow complete video for PyTest ruclips.net/video/snDSB9b8v_E/видео.html
You probably have to do a couple of checks:
- did you install pytest? Globally or within your virtual environment?
- if you run 'pytest --version' does it show an error or something like 'pytest 6.something something'
- if you cannot run 'pytest' alone, can you try running 'python -m pytest' instead and see if that works