Hackintosh Installation Asrock X99 Extreme4 Yosemite Core i7-5820k

After hours of trial and error I found a way to run hackintosh on my Asrock X99 Extreme4 Yosemite Intel Core i7-5820k build. I was trying to install Install MAC OS X Yosemite on my Asrock X99 Extreme4 Yosemite Intel Core i7-5820k build. I have followed a video instruction from YouTube user Bob Roche. His method helped me to install and copy installation to a MBR drive. But I was not able to boot from the MBR drive . Then I accidentally found my own steps to install Hackintosh for my Asrock x99 build. I am sharing additional steps for people who are having same issues for hackintosh installation.

Hackintosh Asrock x99 i7 5820k

Hackintosh Asrock x99 i7 5820k

 

My Hakintosh Build:

  1. Processor: Intel Core i7 6-Core 5820k
  2. Motherboard: Asrock X99 Extreme4
  3. Graphics Card: sapphire Radeon™ R9 200 Series. 3GB ram
  4. Ram: 16GB Crucial DDR4 RAM

Hackintosh Installation steps:

I have followed following steps for installing hackintosh on Asrock X99 Extreme4 Yosemite Core i7-5820k / R9 200 build:

Continue Reading →

Continue Reading >>

Descriptive programming in QTP & How to do descriptive programming

What is descriptive programming in QTP ? How to Do descriptive programming? Those are some common question QTP(Hp QuickTest Pro) users. Descriptive programming is a way for QTP to bypass Object Repository(OR). In this tutorial i will show how to do Descriptive programming. If we want to perform an operation on an object that is not stored in the object repository then we use Descriptive programming.

Here are some advantages of using descriptive programming :
1. Descriptive Programming based Test Scripts run on any Machine easily.
2.Test scripts runs faster than OR based scripts.
3.Easy Maintenance because it doesn’t depend on Object Repository.

There are different ways to create descriptive programming in QTP. Follow rest of the tutorial to find out more about Descriptive Programming:

First way to do Descriptive Programming in QTP:
Example Using Google Search
Step 1: At first we are going to run Internet Explorer. In QTP we use systemutil.Run command to run any program. To do so the syntax will be:

 systemutil.Run "The program we want to run", "the website Address"

Example for opening www.google.com

systemutil.Run "iexplore.exe", "www.google.com"

Step 2: Now we are going to declare variable for this example we are using :
googleSearchText = For the the google search text box.
googleSearchBtn = For Google search button description.
anyPage = For Describing a browser and page.
For Example:

 Dim googleSearchText,googleSearchBtn,anyPage

Step 3: Then We are going to initialize the anyPage variable. We are going to set it to run on any page. Look at the code below:

 Set anyPage = Browser("micclass:=Browser").Page("micclass:=Page")

The purpose of initializing this into variable is to shortening the code.
Step 4: In this step we are going create and describe the objects. Using QTP Object Spy you can get object Properties. It shows the types and properties of an object. Here is what object spy looks like.

QTp Object Spy Descriptive Programming
It’s possible to get these properties :Syntax for creating and describing object in QTP :

Set Variable_Name = Description.Create
Variable_Name("property").value = "properties from APP"
Variable_Name("property").value = "properties from APP"

Here is an example for describing googleSearchText,googleSearchBtn :

Set googleSearchText = Description.Create
googleSearchText("micclass").value = "WebEdit"
googleSearchText("type").value = "text"
googleSearchText("name").value = "q"

Set googleSearchBtn = Description.Create
googleSearchBtn("micclass").value = "WebButton"
googleSearchBtn("name").value = "Google Search"

Step 5: Now we are going to put all the created objects together to use it. So far we created a Any page object, Google search text box and Google Search button. To use all the object together the syntax is:

anyPage.Type of object(Object Name).command "what we want to search"

Example

anyPage.WebEdit(googleSearchText).Set "Bytetips QTP Tutorial"

This is the Final script we created using descriptive programing. This script will start Internet Explorer and navigate to Google and search for the text provided in the text field. You can copy-paste this script inside qtp to see how this thing works.

systemutil.Run "iexplore.exe", "www.google.com"
Dim googleSearchText,googleSearchBtn,anyPage
Set anyPage = Browser("micclass:=Browser").Page("micclass:=Page") 
Set googleSearchText = Description.Create
googleSearchText("micclass").value = "WebEdit"
googleSearchText("type").value = "text"
googleSearchText("name").value = "q"

Set googleSearchBtn = Description.Create
googleSearchBtn("micclass").value = "WebButton"
googleSearchBtn("name").value = "Google Search"

anyPage.WebEdit(googleSearchText).Set "Bytetips QTP Tutorial"
anyPage.WebButton(googleSearchBtn).Click

Continue Reading →

Continue Reading >>

Import sample database using MySQL workbench – MySQL Tutorial Part 6

This tutorial is about how to import sample database in MySQL Workbench. And how to make new connection on Toad for MySQL after creating database on MySQL. If you are new here then you need to read the tutorials from the links below.

MySQL Tutorial for beginners

MySQL Tutorial for beginners

********************************************************
We started MySQL Beginers Tutorial

MySQL Beginners Tutorial Introduction Part 1

MySQL Command Types MySql Tutorial for Beginners Part 2

Some Tools and Utilities for MySQL Tutorial for Beginners Part 3

MySql Tutorial for Beginners Part 4 – CREATE Statement

MySQL Naming Guidelines -MySQL Tutorial Part 5

*********************************************************

To create / Import sample database, You will need to download Sample Employee Database For MySQL.
Continue Reading →

Continue Reading >>