JulessVerne Posted November 23, 2016 Author Posted November 23, 2016 4 minutes ago, Danyfirex said: using this Id "s2id_autogen5" Saludos Will try it when i get home i will let you know if it works i think i tried that already and it didn't work.
JulessVerne Posted November 23, 2016 Author Posted November 23, 2016 3 hours ago, Danyfirex said: using this Id "s2id_autogen5" Saludos It worked thank you very much
JulessVerne Posted November 26, 2016 Author Posted November 26, 2016 i dont want to open another thread so i will ask here: Auto It masters need your help again! this time i need to check a checkbox This is the code. $oIE = _IECreate("http://muratindustries.xyz/wp-admin/post-new.php?post_type=product", 1, 1, 1, 1) Local $oForm = _IEFormGetObjByName($oIE, "checkbox") _IEFormElementCheckBoxSelect($oForm, "Virtual", "variable_is_virtual", 1, "byIndex") This is the photo of the check box code i need to enable from what i can tell is an array because checkbox one is variable_is_virtual[0] the second checkbox is variable_is_virtual[1] and so on...
Danp2 Posted November 26, 2016 Posted November 26, 2016 Are you sure that the form's name is "checkbox"? You will need to provide additional info (complete HTML, output from Scite window, etc) if you want a better chance of solving this issue. Latest Webdriver UDF Release Webdriver Wiki FAQs
JulessVerne Posted November 26, 2016 Author Posted November 26, 2016 (edited) All my info i got from the photo i posted 24 minutes ago, Danp2 said: Are you sure that the form's name is "checkbox"? You will need to provide additional info (complete HTML, output from Scite window, etc) if you want a better chance of solving this issue. All the info i got is from the photo i have posted. I uploaded the sourcecode now, Scite gives no error sourcecode.txt Edited November 26, 2016 by JulessVerne
Danp2 Posted November 26, 2016 Posted November 26, 2016 The source you posted doesn't seem to match the earlier image. <shrug> Latest Webdriver UDF Release Webdriver Wiki FAQs
JulessVerne Posted November 26, 2016 Author Posted November 26, 2016 The anaswers to my question are in the image the sourcecode i don 't know but thats the copy pasted form CTRL+ U in the source page
Danp2 Posted November 26, 2016 Posted November 26, 2016 4 minutes ago, JulessVerne said: The anaswers to my question are in the image the sourcecode i don 't know but thats the copy pasted form CTRL+ U in the source page If that were true, you would already have it working. Latest Webdriver UDF Release Webdriver Wiki FAQs
AutoBert Posted November 26, 2016 Posted November 26, 2016 9 hours ago, JulessVerne said: This is the photo of the check box code i need to enable If you want help post codesnipet, people like me (with sick eyes) can c&p from snipet but it's to much work to read from photo, so they wouldn't help.
j0kky Posted November 26, 2016 Posted November 26, 2016 It could be a dynamic generated html... At least search for the "form" line and send us a screenshot. Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs
JulessVerne Posted November 26, 2016 Author Posted November 26, 2016 35 minutes ago, AutoBert said: If you want help post codesnipet, people like me (with sick eyes) can c&p from snipet but it's to much work to read from photo, so they wouldn't help. How can i find this codesnipet ? ?:)
JulessVerne Posted November 26, 2016 Author Posted November 26, 2016 (edited) So this is the add product page i want to check the CheckBox in front of the word Virtual there and on all page. Second photo blue row seclected highlights the entire form Third photo blue line highlights checkbox Clicking on the photos will open them and make them larger and more understandable. Thank you for taking the time to help me. Edited November 26, 2016 by JulessVerne
j0kky Posted November 27, 2016 Posted November 27, 2016 I think you have no idea how an html form element looks like... read about it... Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs
JulessVerne Posted November 27, 2016 Author Posted November 27, 2016 4 hours ago, j0kky said: I think you have no idea how an html form element looks like... read about it... Thank you for the lesson i have looked al the source code 2x to find where checkboxes are and havent found nothing regarding the checkboxes. How would you guys go about click that value checkbox from the photos i provided. What method would you use to click it ? I tried imagesearch2015 but it acts very strange it skips the first checkbox, checks the second checkbox, skips the third checkbox , checks the forth, skips the fith.
j0kky Posted November 27, 2016 Posted November 27, 2016 I don't see any <form > tag in your images, do you? Make a shot of the right part of the code! Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs
JulessVerne Posted November 27, 2016 Author Posted November 27, 2016 12 minutes ago, j0kky said: I don't see any <form > tag in your images, do you? Make a shot of the right part of the code! Hope this helps, im sorry i am noob :))) to the webbuilding codes etc..
j0kky Posted November 27, 2016 Posted November 27, 2016 (edited) Another useless image, the right part of the inspector shows the CSS. You have to search in the left part a line like this one: <form name="ExampleForm" onsubmit="javascript:alert('ExampleFormSubmitted');" method="post"> Edited November 27, 2016 by j0kky Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs
JulessVerne Posted November 27, 2016 Author Posted November 27, 2016 48 minutes ago, j0kky said: Another useless image, the right part of the inspector shows the CSS. You have to search in the left part a line like this one: <form name="ExampleForm" onsubmit="javascript:alert('ExampleFormSubmitted');" method="post"> i did the first time like i told you i search 2 time for the from and the only form i found was from categories with has nothing to do with what im looking for.. are you sure it is a form ?
j0kky Posted November 27, 2016 Posted November 27, 2016 Well, let's try this: - open DOM inspector - press CTRL + F - search for "<form" or "< form" (without quotes) Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs
JulessVerne Posted November 27, 2016 Author Posted November 27, 2016 (edited) 6 minutes ago, j0kky said: Well, let's try this: - open DOM inspector - press CTRL + F - search for "<form" or "< form" (without quotes) Nici o potrivire = No Match Edited November 27, 2016 by JulessVerne
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now