Friday, July 29, 2011

QTP - Webpage Links

Count links in webpage:

Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set
Links = Browser("version:=internet explorer 8").Page("title:=Google").ChildObjects(oDesc)
Msgbox "Total links: " & Links.Count



Get text in links:
For
i=1 to Links.Count-1
 Msgbox Links(i).GetROProperty("text")
Next

Thursday, July 7, 2011

Creating a Cluster in Windows Server 2008

Useful links:

http://blogs.msdn.com/b/clustering/archive/2008/01/18/7151154.aspx

http://www.ditii.com/2009/08/07/building-windows-server-2008-r2-hyper-v-cluster-video/

http://blog.frankovic.net/2010/04/creating-hyper-v-failover-cluster-part-1/

http://www.mssqltips.com/sqlservertip/1687/install-sql-server-2008-on-a-windows-server-2008-cluster-part-1/

http://vimeo.com/4171569

Tuesday, July 5, 2011

Exchange Server 2010 Database Availability Group

Useful links:

http://exchangeserverpro.com/exchange-server-2010-database-availability-group-installation-step-by-step

http://blog.shareef.info/2010/05/25/configuring-the-dag-replication-and-failover-in-exchange-server-2010-part-3/

Friday, July 1, 2011

Configure Exchange 2007/2010 to send external emails

Here are few easy steps:

1. Open Exchange Management console -> Organization Configuration -> Hub Transport -> Send Connectors tab -> New Send Connector.
2. Enter new send connector Name and select Internet from the intended use dropdown -> Next.
3. Add -> New SMTP Address Space -> put * in the address field -> Ok.
4. Check “use domain name system.." -> Next ->(Add HT Server if required)-> Next -> New -> Finish.
5. Right-click on the newly created send connector -> Properties.
6. Type your domain name in "Specify the FQDN..." -> Ok.

Relay on Exchange 2007 and 2010

SMTP Virtual Server in Exchange 2003 has been replaced by Receive
Connectors in Exchange 2007 and 2010.

1. Open Exchange Management Console -> Server Configuration -> Hub Transport .
2. Right-click each Receive Connector -> Properties and make the corresponding changes in the Permission Groups tab.