Search found 20 matches

by mnaeem
Sat Oct 23, 2021 4:28 pm
Forum: Technical / Scripting
Topic: How to access chrome child window
Replies: 2
Views: 363

How to access chrome child window

Hello, I am trying to access a child window, kindly see this picture https://1drv.ms/u/s!AoNHROZr6p0PkGLaWzgh2KuA8QrF?e=PzV0Z5 Actually there are 2 buttons which are hidden in previously shown picture. They are visible in this picture https://1drv.ms/u/s!AoNHROZr6p0PkGMcfP2rvpPsjgpe?e=tAfjQ5 I need ...
by mnaeem
Fri Oct 15, 2021 1:54 pm
Forum: Technical / Scripting
Topic: Returning value from VBScript function
Replies: 4
Views: 443

Re: Returning value from VBScript function

I am trying to pass parameter value to the VB script function and get the output from function using VBEval command but seems the parameter value is not being passed.

Edit

Ok finally managed to make it work.
by mnaeem
Fri Oct 15, 2021 1:02 pm
Forum: Technical / Scripting
Topic: Returning value from VBScript function
Replies: 4
Views: 443

Re: Returning value from VBScript function

Appreciate your support, your suggested solution worked, but I am facing strange problem and I am sure I am messing up things. This is the vbscript function I am wrestling with. VBSTART Function CheckIsValidPage(sourceString) Dim x Msgbox "Inside function " + sourceString If Len(sourceString)=0 Then...
by mnaeem
Thu Oct 14, 2021 11:17 pm
Forum: Technical / Scripting
Topic: How to control webpage popups
Replies: 2
Views: 390

Re: How to control webpage popups

Yes Marcus it worked. Appreciate your help and support.
by mnaeem
Thu Oct 14, 2021 11:16 pm
Forum: Technical / Scripting
Topic: Returning value from VBScript function
Replies: 4
Views: 443

Returning value from VBScript function

Hello, As per the documented instructions this below VBScript function is at the top of my script. VBSTART Function CheckIsValidPage(sourceString) Dim x CheckIsValidPage = "1" End Function VBEND Now in my script when I am executing these below mentioned 2 lines, I am not able to read the value which...
by mnaeem
Sat Oct 02, 2021 11:00 am
Forum: Technical / Scripting
Topic: How to control webpage popups
Replies: 2
Views: 390

How to control webpage popups

Hello, At this onedrive url https://1drv.ms/u/s!AoNHROZr6p0PkGECpE4akB8a3Rjn?e=AeABU0 I have uploaded a screenshot of popups which appears when you visit a site. How can you control such popups I mean, I want to press No Thanks . How can I take action on the popup, I am not interested in using the t...
by mnaeem
Thu Sep 30, 2021 7:37 pm
Forum: Technical / Scripting
Topic: Can we change Chrome settings
Replies: 1
Views: 265

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: 292

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: 1058

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: 1058

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: 1058

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: 1058

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: 682

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: 572

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: 572

Re: Calling other scripts

I guess this is what I am looking for https://www.mjtnet.com/manuals/v15/HTML/macro.html
cron
Sign up to our newsletter for free automation tips, tricks & discounts