Search found 63 matches

by Niroj@Work
Tue Jun 29, 2010 11:31 am
Forum: Technical / Scripting
Topic: 'GetWindowTextEx' doesnot fetch full contents everytime
Replies: 5
Views: 6230

I use this:

/*TO GET THE TEXT PROPERLY FROM THE SCREEN HAVING HAVING THE A KEY TEXT NOTE: THE KEY TEXT MUST BE PRESENT ELSE IT WILL HANG... */ SRT>GET_PROPER_TEXT Let>isPoP_proper=0 Repeat>isPoP_proper GetTextReset SetFocus>GET_PROPER_TEXT_Var_1 WaitReady>0 GetWindowTextEx>GET_PROPER_TEXT_Var_1,str_proper RegE...
by Niroj@Work
Tue Jun 29, 2010 4:28 am
Forum: Technical / Scripting
Topic: Emulator Synchronization
Replies: 3
Views: 4245

OK.. But I need to know whether we can do a synchronization for such kind of terminal or not? Can we check whether the buffer is ready for key stroke or not? Can we sense the acknowledgment of the terminal that the previous action executed or not?
by Niroj@Work
Mon Jun 28, 2010 2:38 pm
Forum: Technical / Scripting
Topic: Emulator Synchronization
Replies: 3
Views: 4245

Emulator Synchronization

I know that the same type of queries are already present in this forum. But I need a specific idea/solution/discussion on this topic. Whenever we are trying to automate an application which uses Terminal Emulation, the main challenge we face is proper synchronization. I need to get the Text from an ...
by Niroj@Work
Mon Jun 28, 2010 2:10 pm
Forum: Technical / Scripting
Topic: Regular Crash while running script- Closing Window Explorer
Replies: 4
Views: 4791

operating system info

MS Windows XP
Professional
Version 2002
Service Pack 3
by Niroj@Work
Mon Jun 28, 2010 12:07 pm
Forum: Technical / Scripting
Topic: Regular Crash while running script- Closing Window Explorer
Replies: 4
Views: 4791

Hi mtettmar,

This error I am getting frequently. Could you please check once?
by Niroj@Work
Fri Jun 25, 2010 12:01 pm
Forum: Technical / Scripting
Topic: Regular Crash while running script- Closing Window Explorer
Replies: 4
Views: 4791

Regular Crash while running script- Closing Window Explorer

Frequently, while running the script (both before and after compilation) the an error like "To protect your computer window is closing Window Explorer" message is being displayed. After this the system is getting hanged. Could you please check. It is quite irritating. Current Version I am using: 11....
by Niroj@Work
Thu Jun 17, 2010 5:07 am
Forum: Technical / Scripting
Topic: RegEx: How to check for Case in pattern?
Replies: 3
Views: 4426

example

Could you please provide one example?
by Niroj@Work
Mon Jun 14, 2010 6:36 am
Forum: Technical / Scripting
Topic: RegEx: How to check for Case in pattern?
Replies: 3
Views: 4426

RegEx: How to check for Case in pattern?

How to check proper case in a pattern using RegEx?
by Niroj@Work
Fri May 28, 2010 5:07 am
Forum: Technical / Scripting
Topic: SCRIPT VARIABLE and SCREEN TEXT COLLISION
Replies: 2
Views: 3447

SCRIPT VARIABLE and SCREEN TEXT COLLISION

Many times the text coming from a screen may be same as the variable name used inside the script. e.g. // A variable storing a value Let>TEST=123 // TEST a string coming from the screen; we don't have any control over it..! Let>var=TEST // Now if I want to display only TEST not 123 What I need to do...
by Niroj@Work
Fri Apr 30, 2010 6:33 am
Forum: Technical / Scripting
Topic: Capture string in between two given string
Replies: 20
Views: 17429

Also I am tired using the RegEx command in my program. Sometimes the the error message "Regular Pattern matching does not compile" is getting displayed in run time. God knows for what it is displaying? Especially while running the Exes it is really hard to debug it. Though I am not able to debug it ...
by Niroj@Work
Fri Apr 30, 2010 6:30 am
Forum: Technical / Scripting
Topic: Error While running a program after creating EXE!
Replies: 2
Views: 3488

As per your suggestion I put the double quotes while calling another program but now I am facing a new problem. Sometimes If I am calling more then one instance of the program then the system is getting hanged. Here the RP_WAIT value is set to 0; so the main script does not wait for the child Exe to...
by Niroj@Work
Fri Apr 30, 2010 5:45 am
Forum: Technical / Scripting
Topic: Comparing dates
Replies: 2
Views: 3496

Thanks marcus
by Niroj@Work
Tue Apr 27, 2010 9:50 am
Forum: Technical / Scripting
Topic: Comparing dates
Replies: 2
Views: 3496

Comparing dates

Hi,

I want to compare between two dates. Like:
compare between "2009-11-24 17:07:16" and "2009-10-22 17:07:16". need to check whether the date is greater or smaller?

I don't know VB and Macroscheduler does not have such functions. So If you have this code then could you please share here?
by Niroj@Work
Thu Apr 22, 2010 9:49 am
Forum: Technical / Scripting
Topic: Error While running a program after creating EXE!
Replies: 2
Views: 3488

Error While running a program after creating EXE!

RunProgram>%SCRIPT_DIR%\ValidateDB.exe /DB_VAL_STRING="%DB_VAL_STRING%" /CHK_FIELDS="%CHK_FIELDS%" /DB_REQ_STRING="%DB_REQ_STRING%" /FILE_NAME="%SheetDir%\%TcId%\%TcId%.txt" The above code mentioned is present inside the different program MainScript.scp. The duo are working fine when I am running th...
by Niroj@Work
Wed Apr 07, 2010 9:46 am
Forum: General Discussion
Topic: Irregular behavior while sending Text
Replies: 1
Views: 3518

Irregular behavior while sending Text

Hi, I am facing one issue while sending text to Unix based terminals like Putty, DTelnet. While sending the data to these terminal the format of the text is changing irregularly.Sometimes it is working fine some time it is not. For example: SetFocus>terminal_name Send>"TULIP_WINDOW.sh" Press Enter B...
Sign up to our newsletter for free automation tips, tricks & discounts