SachinSunny27 wrote:Dear GURU ji. i tried the following code but not working:-
Code: Select all
VERSION BUILD=1005 RECORDER=CR
SET !TIMEOUT_STEP 1
'SET !ERRORIGNORE YES
TAB T=1
'URL GOTO=https://www.eye2serve.com:50001/irj/portal
'FRAME NAME="5BD4C57660C571CBE10000000A7842C4_A"
FRAME F=8
WINCLICK X=1137 Y=310 CONTENT=ENTER
WINCLICK X=1120 Y=324 CONTENT=ENTER
WINCLICK X=1155 Y=341 CONTENT=ENTER
WINCLICK X=411 Y=516 CONTENT=ENTER
'>
EVENT TYPE=CLICK SELECTOR="#WD0208" BUTTON=0
TAG POS=1 TYPE=TD ATTR=TXT:MEDIUM
'WAIT SECONDS=0.5
'>
EVENT TYPE=CLICK SELECTOR="#WD0216" BUTTON=0
TAG POS=1 TYPE=TD ATTR=TXT:F.O.R
'WAIT SECONDS=0.5
'>
EVENT TYPE=CLICK SELECTOR="#WD0220" BUTTON=0
TAG POS=1 TYPE=TD ATTR=TXT:Unloading<SP>By<SP>Customer<SP>And<SP>Octroi<SP>By<SP>Compan*
'WAIT SECONDS=0.5
'>
EVENT TYPE=CLICK SELECTOR="#WD023B" BUTTON=0
TAG POS=1 TYPE=TD ATTR=TXT:PPC-ULTRATECH<SP>CEMENT-HDPE<SP>/<SP>PP<SP>PACK<SP>(MRP)
"GURU-GURU", ah-ah...!, sounds nice though...!
Yeah, but "not working" is vague again...!
I don't know where you found this 'WINCLICK' Mode...!?
, I don't think v10.0.5 for CR will be able to record such Statements...!, it has been deprecated for several years I think, and was/is only (Backward) supported on iMB/IE...
FF and CR had the 'CLICK' Mode which is also kind of deprecated now, (the 'EVENT' Mode can work with X/Y Coordinates also and replaces it), and I'm not even sure if 'CLICK' Statements are still "Backward" supported in Replay Mode in v10.x for CR and even FF...
You need to "start" from the Script I provided, if it's already working for you for the first 3 DDLB's, that means it's already "correct" for that part, only the part for the last/4th DDLB still needs some "Tuning"...
If you want to "work" with Coordinates with the 'EVENT' Mode, you need to click "slowly" on the Page, then, instead of recording one 'EVENT CLICK' + Selector Statement, iMacros will record 3 'EVENT' Statements: ['MOUSEDOWN' + 'MOUSEMOVE' + 'MOUSEUP'] that will be using Coordinates...
But hum..., some kind of "Warning":
Coordinates are always a little bit "dangerous" as they depend on your Screen Resolution, + Window Size (maximized or not), + if you have some horizontal or vertical Toolbars or Sidebars enabled in your Browser, and + even the Width of the iMacros Side Panel... (OK, this last one shouldn't play a role anymore though in v10.x on CR/FF with "Undocked Side Panel" I would think..., I'm not completely sure, I never tested...)
- (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...