Create Dictionary with Based on Index

List 1 = [‘₹ 8,000’, ‘₹ 12,000 +’, ‘₹ 8,500 +’, ‘₹ 8,000’, ‘₹ 10,000’, ‘₹ 7,500’, ‘₹ 10,000 +’, ‘₹ 12,000 +’, ‘₹ 6,000 +’, ‘₹ 8,000’, ‘₹ 10,000’, ‘₹ 9,000’, ‘₹ 8,500’, ‘₹ 12,000’, ‘₹ 5,000’, ‘₹ 10,000 +’, ‘₹ 5,000’, ‘₹ 12,000’, ‘₹ 10,000’, ‘₹ 7,000’]
List 2 = [‘Independent House, Near Dr Rangarajan Memorial Hospital’, ‘No 6/18, 2nd street, venkatakrishna nagar, arumbakkam, chennai’, ‘Independent House, No.409, Near Anna Arch’, ‘Independent House, Near Dr Rangarajan Memorial Hospital’, ‘Independent House, Jawaharlal Nehru Salai , near Be Well Hospitals Anna Nagar’, ‘Independent House, Nelson Manickam Rd, PP Garden Near PVR Cinemas - Skywalk’, ‘Mgm hospital car parking’, ‘Independent House, VOC colony 1st Street ,Near M.R. Hospital’, ‘Independent House, Sivan Koil South Mada St, Ambedkar Nagar, Near CANARA BANK - CHENNAI VILLIVAKKAM’, ‘Independent House, Muthamman Koil Street Near Sree Gopi krishna complex’, ‘Independent House, Mettu St,Rajiv Gandhi Nagar, near AGS Cinemas’, ‘Independent House, opposite to metro water training center gate’, ‘Independent House, m.k.street near WPA Soundara Pandiya Nadar Higher Secondary School’, ‘Independent House, Sidco Industrial Estate, Near Shri Kamatchi Amman Kovil’, ‘Independent House, 1st St, Sidco Industrial Estate, Villivakkam Near Shri Kamatchi Amman Kovil’, “Independent House, Poonamallee High Rd near Pachaiyappa’s College”, ‘Independent House, Thiruvallur High Rd near The Legend New Saravana Stores’, ‘chetty street’, ‘Independent House, officer colony main rd near Santhosh building’, ‘Independent House, Gopal Nagar,Near Britannia High School and sugan motors’, ‘Independent House, 3rd Cross St, Baba Nagar, near Baba Nagar Pillayar Koil’, ‘Independent House, 6th Street, Sri Krishna nagar’]

How to match and Create Dictionary key as list 1and value as list 2 based on Index of Web elements What is the Code for Making Dictionary values?

Hi Praveen,
you can use the following combination to accomplish this:

  1. for in zip Loop, see Robot Framework User Guide
  2. Inside the loop you should use Set To Dictionary from the Collections Library, see https://robotframework.org/robotframework/latest/libraries/Collections.html#Set%20To%20Dictionary
    HTH, Uwe