Latest Inquiries - Data Extraction Software

Having trouble with formsubmit on a button

Submitted: 12/29/2015


I am having trouble while running the ripper that the button doesn't actually get pressed. In the designer it works just fine, puts data from the csv into the formfield then presses the submitform button, but while attempting to run the project either the button is not found or its not pressing it. The page that should be loading as it does in the designer is not doing anything.

Would appreciate any input on how to go about fixing the issue.

Attached is the sample rip and the csv that can be used with it.

Thank you,



Replied: 1/6/2016 12:35:41 PM

Please check the attached new project.

I've revised xpath for 'test_condition' element :

//DIV[@class='_Iog ab_button'] | //DIV[@class='_oL']/DIV[1]

it does select the 'A Best Buy' area, the xpath has been manually set via tree view tool.

Another hand, I revised same xpath for 'New template' link template, therefore, if 'test_condition' can be found, then it will enable 'New template' link template then get to next templates inside it.

Testing Store Traffic Nearly Complete

Replied: 12/30/2015 6:02:53 AM

It seems to run well for me, see the attached log file and sample data.

I'm guessing that you might try to revise xpath for 'SearchButton' template, or you might try to mark check 'wait for element' for 'SearchButton' template ,see if it works in run-time?


Replied: 1/5/2016 9:20:17 PM

Thanks much for the explanation and example, as wlel as the link to manual regarding conditional scripts.

Have another question/problem. While working out the pathing for the alternate template i am unable to get to the link i am wanting. Thought i was doing it correctly but continue to get no link found even when the template works in the designer.

I know the conditional script works as i have changed he 'new template' to a link in the searches and it executes correctly.

I am wanting the 'new template' to go to the "A Best Buy" link above the "B Magnolia ... : link. To get to the information i am wanting. Like i said previously, the link thats currently in the template works in designer, but fails in runtime, saying there is no link. ANy help getting that link step to work would be appreciated.

Attaching rip, csv, and picture showing the desired link.

- Gregory

Testing Store Traffic Nearly Complete

Replied: 1/4/2016 12:05:09 PM

Please check the attached new project.

I've created a new element - 'test_condition' and a link template 'New template', the 'test_condition' element has same xpath as 'PickDayButton' link template, and it contains conditional scripts to detect if the element exists , then disable 'New template' template, 'PickDayButton' link template naturally works, whereas.


Testing Store Traffic Nearly

Replied: 1/4/2016 12:57:35 AM

I ended up trying several different changes between the xpath and wait times, i believe now it works a bit more consistently. Wait time that seemed to make the biggest difference was the PickDayButton template. Because i had the rest of the project working after that point, was just a matter of getting it to that point.

Question i have now is, after the SearchButton template has been opened, there is a chance the page that loads is not actually what im looking for, not because web ripper just because there are 2 'stores' at that address.

Is there a way to have the next page have 2 different templates. Say, RUn template 1 if PickDayButton exists, otherwise run template 2? Assume if it is it would be through a script that runs first to check if a certain element exists. Would appreciate a quick example if possible of something like. If element exists, run template1, else run template2.

For an example of what i mean i have included the updated ripper and same csv file. The first input from the csv will fail to find the PickDayButton template as expected, if you input that specific address into google, you can see the problem i am refereing to.

Appreciate any help and all the previous help that has been given.

- Gregory

Testing Store Traffic Nearly