mark.p.white65 wrote:i have a macros with scv file
here is the code
Code: Select all
VERSION BUILD=12.0.501.6698
SET !ERRORIGNORE yes
SET !TIMEOUT_STEP 99999999
SET !DATASOURCE {{!VAR1}}C:\Users\1\Desktop\1.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
VERSION BUILD=12.0.501.6698
TAB T=1
TAB CLOSEALLOTHERS
'SET !PLAYBACKDELAY 0.00
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:math CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:btn
this code takes numbers from csv file, and fill every time in a text box then click submit
when it click submit the page view this text "wrong numbers"
and when the numbers is true it show "true numbers"
i want imacross to stop when this text appears "true numbers"
any help please ?
FCIM...!
(Read my Sig...)
=> iMB v12.0...? / iMacros for IE v12.0...? (+ IE Version...?), OS=Win v...?
Hum, your whole Script looks a bit "strange"...:
- You don't need to repeat the 'VERSION' Command...
- You have a Value of about 38 Months (!?!
) for '!TIMEOUT_STEP'...! That's a bit exaggerated I would think...! You really expect the Web-Site to take up to more than 3 years before reacting to your Script...!?
- Your '!DATASOURCE' Line uses a '!VAR1' Var that is not defined, this is "asking for Trouble", oops...!
But OK, to answer your Qt, yep, extract that "wrong numbers"/"true numbers" Field on your Site and using 'EVAL()' you can trigger a "Conditional PAUSE"...
(A "Conditional PROMPT" is also possible, but is a bit "trickier", and behaves differently in different Browsers... Both ways already "covered" in a few Threads if you search the Forum...)
Oh..., and it's "csv File" btw, not "scv File"...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...