How to interact with windows based elements within our selenium python code, by using any third party library...











up vote
0
down vote

favorite












what is the easy(simple/clean) way to add few steps to interact with windows based elements within python selenium script?



eg:
when i click a download button via selenium driver
and next i need to change the file name and location and click save button on windows dialog



Note: downloads button is just an example, i pretty much want to know a common way to handle any kind of items



As, i do not want a way where they recommend a way to configure browser such that downloads happen automatically at a specific location on our system



way to execute my scenario:
keep this setting turned on in browser -
Ask where to save each file before downloading(chrome)



website to try - https://www.seleniumhq.org/download/
try downloading anything










share|improve this question









New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • You can try Python implementation of AutoIT or AutoHK
    – Andersson
    2 days ago










  • or robotframework.org
    – Infern0
    2 days ago















up vote
0
down vote

favorite












what is the easy(simple/clean) way to add few steps to interact with windows based elements within python selenium script?



eg:
when i click a download button via selenium driver
and next i need to change the file name and location and click save button on windows dialog



Note: downloads button is just an example, i pretty much want to know a common way to handle any kind of items



As, i do not want a way where they recommend a way to configure browser such that downloads happen automatically at a specific location on our system



way to execute my scenario:
keep this setting turned on in browser -
Ask where to save each file before downloading(chrome)



website to try - https://www.seleniumhq.org/download/
try downloading anything










share|improve this question









New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • You can try Python implementation of AutoIT or AutoHK
    – Andersson
    2 days ago










  • or robotframework.org
    – Infern0
    2 days ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











what is the easy(simple/clean) way to add few steps to interact with windows based elements within python selenium script?



eg:
when i click a download button via selenium driver
and next i need to change the file name and location and click save button on windows dialog



Note: downloads button is just an example, i pretty much want to know a common way to handle any kind of items



As, i do not want a way where they recommend a way to configure browser such that downloads happen automatically at a specific location on our system



way to execute my scenario:
keep this setting turned on in browser -
Ask where to save each file before downloading(chrome)



website to try - https://www.seleniumhq.org/download/
try downloading anything










share|improve this question









New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











what is the easy(simple/clean) way to add few steps to interact with windows based elements within python selenium script?



eg:
when i click a download button via selenium driver
and next i need to change the file name and location and click save button on windows dialog



Note: downloads button is just an example, i pretty much want to know a common way to handle any kind of items



As, i do not want a way where they recommend a way to configure browser such that downloads happen automatically at a specific location on our system



way to execute my scenario:
keep this setting turned on in browser -
Ask where to save each file before downloading(chrome)



website to try - https://www.seleniumhq.org/download/
try downloading anything







python selenium selenium-webdriver






share|improve this question









New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 7 at 5:40





















New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 7 at 5:29









Smita Patankar

12




12




New contributor




Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Smita Patankar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • You can try Python implementation of AutoIT or AutoHK
    – Andersson
    2 days ago










  • or robotframework.org
    – Infern0
    2 days ago


















  • You can try Python implementation of AutoIT or AutoHK
    – Andersson
    2 days ago










  • or robotframework.org
    – Infern0
    2 days ago
















You can try Python implementation of AutoIT or AutoHK
– Andersson
2 days ago




You can try Python implementation of AutoIT or AutoHK
– Andersson
2 days ago












or robotframework.org
– Infern0
2 days ago




or robotframework.org
– Infern0
2 days ago












2 Answers
2






active

oldest

votes

















up vote
0
down vote













There is a project called Winium, remote driver implementation of Selenium for automating desktop applications. This could help you with this job.



You can spy ui using Inspect.



Find the samples at https://github.com/2gis/Winium.Desktop/wiki/Magic-Samples






share|improve this answer




























    up vote
    0
    down vote













    Try to use AUTO It, it will be useful in Interacting with windows based applications in selenium.



    Check out here - https://www.guru99.com/use-autoit-selenium.html



    Hope This Helps You.






    share|improve this answer





















      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });






      Smita Patankar is a new contributor. Be nice, and check out our Code of Conduct.










       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53184026%2fhow-to-interact-with-windows-based-elements-within-our-selenium-python-code-by%23new-answer', 'question_page');
      }
      );

      Post as a guest
































      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      There is a project called Winium, remote driver implementation of Selenium for automating desktop applications. This could help you with this job.



      You can spy ui using Inspect.



      Find the samples at https://github.com/2gis/Winium.Desktop/wiki/Magic-Samples






      share|improve this answer

























        up vote
        0
        down vote













        There is a project called Winium, remote driver implementation of Selenium for automating desktop applications. This could help you with this job.



        You can spy ui using Inspect.



        Find the samples at https://github.com/2gis/Winium.Desktop/wiki/Magic-Samples






        share|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          There is a project called Winium, remote driver implementation of Selenium for automating desktop applications. This could help you with this job.



          You can spy ui using Inspect.



          Find the samples at https://github.com/2gis/Winium.Desktop/wiki/Magic-Samples






          share|improve this answer












          There is a project called Winium, remote driver implementation of Selenium for automating desktop applications. This could help you with this job.



          You can spy ui using Inspect.



          Find the samples at https://github.com/2gis/Winium.Desktop/wiki/Magic-Samples







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          ArunPrakash

          10116




          10116
























              up vote
              0
              down vote













              Try to use AUTO It, it will be useful in Interacting with windows based applications in selenium.



              Check out here - https://www.guru99.com/use-autoit-selenium.html



              Hope This Helps You.






              share|improve this answer

























                up vote
                0
                down vote













                Try to use AUTO It, it will be useful in Interacting with windows based applications in selenium.



                Check out here - https://www.guru99.com/use-autoit-selenium.html



                Hope This Helps You.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Try to use AUTO It, it will be useful in Interacting with windows based applications in selenium.



                  Check out here - https://www.guru99.com/use-autoit-selenium.html



                  Hope This Helps You.






                  share|improve this answer












                  Try to use AUTO It, it will be useful in Interacting with windows based applications in selenium.



                  Check out here - https://www.guru99.com/use-autoit-selenium.html



                  Hope This Helps You.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 days ago









                  koushick

                  819




                  819






















                      Smita Patankar is a new contributor. Be nice, and check out our Code of Conduct.










                       

                      draft saved


                      draft discarded


















                      Smita Patankar is a new contributor. Be nice, and check out our Code of Conduct.













                      Smita Patankar is a new contributor. Be nice, and check out our Code of Conduct.












                      Smita Patankar is a new contributor. Be nice, and check out our Code of Conduct.















                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53184026%2fhow-to-interact-with-windows-based-elements-within-our-selenium-python-code-by%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest




















































































                      Popular posts from this blog

                      横浜市

                      Rostock

                      Europa