Search found 63 matches
- Sat Mar 20, 2010 11:52 am
- Forum: Technical / Scripting
- Topic: Problem in passing Tab as an argument to a function
- Replies: 3
- Views: 3026
Problem in passing Tab as an argument to a function
SRT>Trim Let>TrimmedStr=Trim_Var_1 mdl>in trim "%TrimmedStr%" //Trimming out spaces at beg and end RegEx>^\s+,%TrimmedStr%,0,,,1,,TrimmedStr RegEx>\s+$,%TrimmedStr%,0,,,1,,TrimmedStr RegEx>%CR%,%TrimmedStr%,0,,,1,,TrimmedStr RegEx>%LF%,%TrimmedStr%,0,,,1,,TrimmedStr mdl>out trim "%TrimmedStr%" END>T...
- Sat Mar 20, 2010 8:37 am
- Forum: Technical / Scripting
- Topic: Issue with multiple If statements:
- Replies: 7
- Views: 5498
Hi, All variable is assigned properly as expected but problem is happening only when I am including a script (i.e INFORMIX_DB_CONNECT). Not only this script, inclusion of any simple script at that place is breaking the control and interfering with the If statement. Instead of including the script, i...
- Thu Mar 18, 2010 7:51 am
- Forum: Technical / Scripting
- Topic: Issue with multiple If statements:
- Replies: 7
- Views: 5498
- Wed Mar 17, 2010 11:31 am
- Forum: Technical / Scripting
- Topic: Issue with multiple If statements:
- Replies: 7
- Views: 5498
Hi mtettmar, I didn't set any break point. I showed my code to few people and no one could see any problem in it. Though I must not be true but have a feeling that there some problem in the condition checking or looping in Macroscheduler which is indirectly being affected by some unseen error from o...
- Wed Mar 17, 2010 8:58 am
- Forum: Technical / Scripting
- Topic: Issue with multiple If statements:
- Replies: 7
- Views: 5498
Issue with multiple If statements:
Code is sent to you..
Please check
Please check
- Mon Mar 15, 2010 10:31 am
- Forum: Beginners
- Topic: Can we do a pattern matching for multiple lines using RegEx?
- Replies: 4
- Views: 4091
Sorry
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Sorry, my pattern was wrong ....! I forgot that comma ',' may create prob in pattern in RegEx..
- Mon Mar 15, 2010 6:38 am
- Forum: Beginners
- Topic: Can we do a pattern matching for multiple lines using RegEx?
- Replies: 4
- Views: 4091
Can we do a pattern matching for multiple lines using RegEx?
Hi All, Can we use RegEx command for reading & matching for multiple lines? Like: The lines are: { I am a Boy. Who r u? ....} O/p: "I am a Boy. Who r u? ...." In Perl we can use =~ s/pattern/substitute/sg i.e. we can we use "s" at the end to tell to read for multiple lines. Can we do the same using ...
- Sat Mar 13, 2010 10:27 am
- Forum: Technical / Scripting
- Topic: GetWindowTextEx is not working on "Poderosa"
- Replies: 1
- Views: 2678
GetWindowTextEx is not working on "Poderosa"
Hi, Poderosa is a terminal by which we can connect to Unix Box by using Telnet or SSH. As per my knowledge it is a freeware which is useful to run different Unix based applications like Informix 4GL. So I want to automate Informix 4GL applications through this terminal by using Macroscheduler which ...
- Tue Mar 02, 2010 12:37 pm
- Forum: Technical / Scripting
- Topic: Escaping commas using RegEx
- Replies: 4
- Views: 3481
- Tue Mar 02, 2010 11:19 am
- Forum: Technical / Scripting
- Topic: Escaping commas using RegEx
- Replies: 4
- Views: 3481
Requirement: Replace comma(,) with (\,)
The requirement is different. I need to replace any special characters including commas with the special characters appended with backslash(\).
Like:
==========
Let>item2Search=a,bc#efhgh200++120zzzz,
Required O/p: a\,bc\#efhgh200\+\+120zzzz\,
not "a,bc\#,efhgh200\+,\+,120zzzz,"
Like:
==========
Let>item2Search=a,bc#efhgh200++120zzzz,
Required O/p: a\,bc\#efhgh200\+\+120zzzz\,
not "a,bc\#,efhgh200\+,\+,120zzzz,"
- Tue Mar 02, 2010 9:22 am
- Forum: Technical / Scripting
- Topic: Escaping commas using RegEx
- Replies: 4
- Views: 3481
Escaping commas using RegEx
Hi Friends, I want to replace all special characters in a string(i.e. item2Search) with "\special char". I did it.. But for commas it is not working though it is working fine in Perl pattern matching. I think since we are using commas in RegEx as passing the arguments escaping commas is not working ...
- Fri Jan 01, 2010 7:38 am
- Forum: Technical / Scripting
- Topic: Difference between two strings
- Replies: 2
- Views: 3365
- Thu Dec 31, 2009 12:27 pm
- Forum: General Discussion
- Topic: MacroSchedular Vs OLE VB SCRIPING Vs QTP
- Replies: 4
- Views: 7249
Thanks agn for ur qcick reply.. Can u plz check "Difference between two strings" issue I mentioned in the Technical/Scripting section? Long bk I mentioned it bt till now I have not get any solution. While doing such kind of operation whenever I am doing the null replacement it is throwing some Syste...
- Thu Dec 31, 2009 11:07 am
- Forum: General Discussion
- Topic: MacroSchedular Vs OLE VB SCRIPING Vs QTP
- Replies: 4
- Views: 7249
- Thu Dec 31, 2009 6:15 am
- Forum: Beginners
- Topic: Array value by arithematic operations inside curli braces
- Replies: 1
- Views: 3117
Array value by arithematic operations inside curli braces
Let>arr_1=1
Let>arr_2=2
let>arr_3=bingo
mdl>arr_{%arr_1%+%arr_2%}
I wanted to print "bingo" but not working...
Can't we do a arithmatic operation between a curli braces to get a value stored in an array?
Let>arr_2=2
let>arr_3=bingo
mdl>arr_{%arr_1%+%arr_2%}
I wanted to print "bingo" but not working...
Can't we do a arithmatic operation between a curli braces to get a value stored in an array?