Search found 29 matches

by mnaeem
Thu Sep 30, 2021 7:37 pm
Forum: Technical / Scripting
Topic: Can we change Chrome settings
Replies: 1
Views: 1740

Can we change Chrome settings

Hello,

Can we change UserAgent, Browser version and screen resolution of chrome while launching the chrome through script?

Thanks
by mnaeem
Thu Sep 30, 2021 7:32 pm
Forum: Technical / Scripting
Topic: YouTube scrapping
Replies: 1
Views: 1820

YouTube scrapping

Hello, I am trying to write an automation with following steps. Step 1) open chrome using chromedriver Step 2) navigate to www.youtube.com/ Step 3) find the textbox to write the keyword you want to search Step 4) after successfully finding the text box, enter the keyword in the textbox and press ent...
by mnaeem
Wed Mar 24, 2021 12:39 pm
Forum: Technical / Scripting
Topic: Trying to execute onClick
Replies: 7
Views: 3632

Re: Trying to execute onClick

Hi Dorian,

Thank you so much. You hit right. That is what I was looking for. I tried to go through docs but couldn't make my way out properly.

After using your suggested xpath approach I have realized that we can accurately reach to the desired element.

Appreciate your help.
by mnaeem
Tue Mar 23, 2021 6:58 pm
Forum: Technical / Scripting
Topic: Trying to execute onClick
Replies: 7
Views: 3632

Re: Trying to execute onClick

Following your suggestion, I tried these below 2 lines, but no luck page is not getting submitted. ChromeFindElements>session_id,class name,submit_input,elements ChromeElementAction>session_id,elements_1,click But this below code worked perfectly fine. Don't know why, I am still not convinced that t...
by mnaeem
Tue Mar 23, 2021 6:20 pm
Forum: Technical / Scripting
Topic: Trying to execute onClick
Replies: 7
Views: 3632

Re: Trying to execute onClick

Hello mightycpa, Yes you are right, I am doing something wrong as elements_1 is not appearing in the Watch List while debugging. This is the complete html for that button. I am trying to reach to that input element whose type is submit and execute the function mentioned in the onclick. <div class="b...
by mnaeem
Tue Mar 23, 2021 1:36 pm
Forum: Technical / Scripting
Topic: Trying to execute onClick
Replies: 7
Views: 3632

Trying to execute onClick

Hello, This is the html tag I want to press the onclick button but seems its not working. i am trying to avoid the OCR facility because image can change anytime. <input type="submit" onclick="2KKM25268FGTR0IDC6FIL04KV4_form_submit();" value="Continue" class="submit_input"> This is how I am approachi...
by mnaeem
Mon Mar 22, 2021 12:58 pm
Forum: Technical / Scripting
Topic: Favorite browser for Web automation
Replies: 3
Views: 2118

Favorite browser for Web automation

Hello Experts, I know lots of seniors and experts are hanging around in this forum. Just being a newbie in world of automation specially using Macro Scheduler, can you please share you experience in the light of this simple question. For web automation which browser you recommend and why ? Microsoft...
by mnaeem
Mon Mar 15, 2021 9:41 am
Forum: Technical / Scripting
Topic: Calling other scripts
Replies: 3
Views: 1823

Re: Calling other scripts

Hello mightycpa,

Appreciate the great ideas you have shared about how to share the data between scripts. I have looked at it and yes to me also database option seems quiet affordable as it will also help avoid file locking issues etc incase your macro is doing some heavy processing.

Thanks
by mnaeem
Sun Mar 14, 2021 6:51 pm
Forum: Technical / Scripting
Topic: Calling other scripts
Replies: 3
Views: 1823

Re: Calling other scripts

I guess this is what I am looking for https://www.mjtnet.com/manuals/v15/HTML/macro.html
by mnaeem
Sun Mar 14, 2021 6:31 pm
Forum: Technical / Scripting
Topic: Calling other scripts
Replies: 3
Views: 1823

Calling other scripts

Hello, I have a main script named as main from this script I want to call another script named validateConfigs . Simply trying to isolate functionality into multiple scripts so that I can easily debug or maintain. Is it possible? If the above requirement is do able then please also guide or share so...
by mnaeem
Thu Mar 11, 2021 5:46 pm
Forum: Beginners
Topic: Currently logged in user
Replies: 1
Views: 5026

Currently logged in user

Hello, I have noticed that when I am opening chrome window using the provided Chrome example it is opening as a full different session which is understood. Now this session is totally new. On the the same machine where I am executing this script I have already Chrome instance running which is alread...
by mnaeem
Wed Mar 10, 2021 7:13 pm
Forum: Beginners
Topic: Chrome example not working
Replies: 4
Views: 6583

Re: Chrome example not working

When the chrome example script executes, it opens the chrome window but this new chrome window shows Chrome is being controlled by automated test software can by any means we can hide this?
by mnaeem
Wed Mar 10, 2021 7:01 pm
Forum: Beginners
Topic: Chrome example not working
Replies: 4
Views: 6583

Re: Chrome example not working

Hi Dorian,

Thank you so much, I followed your advise and re-downloaded the older version of chrome driver which worked pretty fine.

Thanks
by mnaeem
Wed Mar 10, 2021 5:18 pm
Forum: Beginners
Topic: Chrome example not working
Replies: 4
Views: 6583

Chrome example not working

Hello, I am trying to open chrome and visit a specific URL. I found an example Chrome Example but it is not working. I have followed the instructions of downloading chrome driver and setting its directory path. For further information you are kindly requested to visit the below URL for a screenshot....
Sign up to our newsletter for free automation tips, tricks & discounts