原创 SoapUI offen use script

1.1. Get and Set propertiesGetting properties from groovy is straight-forward; all objects that contain properties have

原创 Vbscript 將數組轉換爲字符串

'Convert array to string 'Writer Markin.Q.Li 'Create Date 2013-4-28 'arrayName arrayName 'separator

原创 VBScript Empty, Null, Nothing

Dim MyVar MsgBox MyVar MsgBox TypeName(MyVar) MsgBox IsEmpty(MyVar) Dim MyVar MyVar=Null MsgBox "" & MyVar MsgBox TypeN

原创 C# user define control demo

Environment: Visual Studio 2012 Create a windows form application named UserDefineControl. Create a user control name

原创 Groovy 學習資料

  Book:Groovy in action   Down load address:http://download.csdn.net/detail/markinlqx/4459750 http://groovy.codehaus.or

原创 C# XML Format

  /// <summary> /// Formats the provided XML so it's indented and humanly-readable. /// </summary>

原创 Groovy Convert between string and date

Reference: http://java.dzone.com/articles/groovy-jdk-gdk-date-and http://www.javabeat.net/2008/09/sample-code-for-simpl

原创 VBScript Sub and Function Demo

    Option Explicit GreetUser GetUserName Sub GreetUser(strUserName) If IsNumeric(strUserName) Or IsDate(strUserName

原创 Vbscript在DataGridView中折半查找某一行

'Binary search an item in a certain table's certain column 'Writer Markin.Q.Li 'Create Date 2013-4-24 'Retur

原创 The difference between null and isEmpty in Groovy

If the print result of data from SQLServer Data Base is null, you should use null; if the print result of data from SQL

原创 VBscript常用函數

原文地址:http://www.360doc.com/content/06/0501/21/3123_108694.shtml VBscript常用函數: 1.數值型函數: abs(num): 返回絕對值 sgn(num): num

原创 QTP對象能識別,但回放的時候卻不響應

今天遇到一個問題QTP可以識別所有的對象,但是回放的時候按鈕就點不上了。 後來發現鼠標必須指在距離控件有一點距離的地方纔能識別,與正常我們想的鼠標要放到控件上才能識別這個控件不同。 出現這種現象是因爲,瀏覽器的Zoom跟錄製時的Zoom

原创 DataGridView的Cell的字體顏色變化

轉自: http://www.cnblogs.com/jiutianxingchen/archive/2013/05/06/3063148.html 今天寫代碼,用DataGridView顯示數據,但是有些單元格需要改變字體顏色,直接在

原创 QTP 描述性編程時,屬性裏面有特殊字符的處理方法

QTP 描述性編程時,屬性的描述字符串會被當成正則表達式處理,如果裏面有特殊字符,控件的描述信息就有可能不被正確識別。 解決辦法是: 1) 給特殊字符前面加上“\” 2)將屬性描述信息的RegularExpression設置爲False,

原创 Vbscript data type

VbScript is loosely typed language. You can use a variant with out define like this: MyVar = 50 or MyVar = "UserName" T