Wednesday, February 2, 2011

Attaching files in Quality center

User can add all type of files uploaded into QC for user reference

Attaching files:-
- click the attachment link
- select the require file from machine
- click ‘open’ button Attached files will be displayed in the below grid for user reference

Attaching URL:-
- click the attachment url link
- Type the require link with format
- Click ‘ok’ button, IE explore format file has attached in the display grid

Capture the Image:-
- click the ‘Capture’ image button
- Capture window has populated in the screen, select require the screen to be capture and click ‘Camera’ link and attached that image and click ‘Attached’ button.

Note:- image captured in .bmp format

Attaching the system information:-
- import system properties information from the user machine



Alert in quality Center

     User can track the requirement changes, test scripts and defects in quality center using the add alert and follow up the flag

Automation notification alert:-
           QC admin can add alert rules, the rules based on requirement, tests and defects. Alert notified the responses in entity level changes.

Follow up Flag:-
     Specific requirement, test suite and defects to remind you to follow the up on the entity and notified the information via mail to the user
Steps:
- select the requirement and click the flag link
- Add the follow up flag date, description
- Change/ clear button use for clear the flag

Clear History in Quality Center

User can store the log of values in your projects, it can been viewed further, if no longer needed, you can delete the using ‘Tools->Clear History’ function

Note: - you must have proper user profile privileges

Entity: - User can customize the require entity can be selected in the list
Field: - select the field in the elected Entity
Date: - selected date range

Tuesday, February 1, 2011

Forget / Reset the QC Password

Reset the QC Password:-

Your can reset the password in quality center for following approach
Note:- verify the user profile has the rights to reset the password
- Logon to Quality center
- Click ‘Tools-->Customize’

- Click ‘User Properties-->change password’ button

- Enter the old password and new password and click ‘Save’ changes

Forget Password:-
User can request the forget password
- load the QC Url
- click ‘Forget Password’
- QC admin will trigger the mail or notification to users for the password



Starting Quality Center

User can lunch the QC on your machine from the Web browser

- Type and load the QC URL like (http:// <:Port>/Qcbin

- Click ‘Quality Center’ Link,

Note:-
• First time user require Admin rights for install the .net framework and Add-in
• Automatically find and install the .net framework for that machine
- If user assigns any project, then you will get intimation about the username and password
- Enter the Username/Password, then assigned domain/project name select from the list

- Click on ‘Login’ button
- QC Loaded successfully

Friday, January 28, 2011

QuickTest Professional Object Model Reference - Utility Statements

Describe Result :-

Return the text description of the error message
Code:-
oBjError = getlasterror
Msgbox (describeresult(oBjError))

ExecuteFile :-

User can call the following format using “ExecuteFile”command in the script level .vbs .txt and .qfl
Code:-
ExecuteFile “FileLocation & file Name”
Note:- Execute file can also call files which is attached in QC also
ExecuteFile ("[QualityCenter] Subject\FileName.vbs")

Exit Action :-

User can call the action based on the function flow or requirement; in meanwhile like to stop the execution of the action we can also use the Exit Action command
Code:-
If RunStatus = “Y” then
Call Runaction "vinodh", "oneIteration"
Else
Exit Action (return Value)
End if
Note:- Return Value populated in the Test result in Quick Test

ExitActionIteration :-

It’s will stop iteration of the function flow
Code :-
If CITY = “USA” then
Call Runaction "vinodh", "oneIteration"
Else
ExitActionIteration(return Value)
End if
Note:- Return Value populated in the Test result in Quick Test

ExitComponent :-

Function used for BPT Testing, exit for the current component run
Code:-
If res = False Then
ExitComponent (return Value)
End If
Note:- Return Value populated in the Test result in Quick Test

ExitComponentIteration :-

Function used for BPT Testing, exit for the current iteration
If res = False Then
ExitComponentIteration(return Value)
End If
Note:- Return Value populated in the Test result in Quick Test

ExitTestIteration :-

Exit current iteration of the Quick Test, Quality centre and BPT component also
If res = False Then
ExitTestIteration (return Value)
End If
Note:- Return Value populated in the Test result in Quick Test

InvokeApplication:-
Invoke the executable application like exe file
Code:-
InvokeApplication "E:\Program Files\Microsoft Internet\IEXPLORE.EXE"

LoadAndRunAction:-

Load the specific action when user require to run the action
Code :-
If CITY = “USA” then
LoadAndRunAction (“Path”,”ActionName”,”Iteration”)
Else
Exit test
End if

Print :-

Display the runtime value from the application
Code:-
Print "VariableName"

Tuesday, January 4, 2011

Quick Test Object Reference Model

Crypt Object – Encrypt Method  
          Encrypt the string variable using Encrypt Method Ex: User can use the Password for securities

Pwd = "vinodh"
Cpwd = Crypt.Encrypt (Pwd)
Msgbox Cpwd

Data Table Method
          Quick Test have feature to create the multiple test data and stored in the Data Table and handled in the runtime.  Scripts will store the temporally in the Data table; User can see the test data in the QT Result window    

Addsheet Method
          Run time user can add the new sheet with test data  
Ex:
a = Datatable.AddSheet("Vino").AddParameter("Name","Check")
print a

Export Method
          Quick Test store the test data value into excel format based on the location
Ex:
a = Datatable.AddSheet("Vino").AddParameter("Name","Check")
print a
DataTable.Export("C:\Vinodh\TestLog.xls")

Delete Method
          Delete the sheet while running the test data table Index value is :1
Ex:
a = Datatable.AddSheet("Vino").AddParameter("Name","Check")
print a
DataTable.DeleteSheet("Vino")

ExportSheet Method

          Export the specific test data sheet from the runtime data table
Index value is : 1

a = Datatable.AddSheet("Vino").AddParameter("Name","Check")
print a
DataTable.ExportSheet "C:\Vinodh\TestLog.xls",3


GetRowCount Method
          Return the total no of the row available in this particular sheet
a = Datatable.AddSheet("Vino").AddParameter("Name","Sona")
print a
ss = Datatable.GetSheet("Vino").GetRowCount
print ss

GetSheet Count Method
          Return the number of sheet count available in excel sheet
DataTable.Export("C:\Vinodh\TestLog.xls")
sheetcount = DataTable.GetSheetCount
print sheetcount